aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-05-20 20:44:19 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-05-20 20:44:19 +0000
commit64987ddf85457801db9239d0ecff761344922c33 (patch)
tree53fcd163697ac29514d5471fd679aca62ab0f1ae
parentbfd1ee8d2db4a9fab8c26a7cc04bad6756ebad52 (diff)
downloadmaster-187ad058-64987ddf85457801db9239d0ecff761344922c33.tar.gz
master-187ad058-64987ddf85457801db9239d0ecff761344922c33.tar.bz2
master-187ad058-64987ddf85457801db9239d0ecff761344922c33.zip
[PATCH] [madwifi] Detect every atheros device present
This patch is for boards with more than one atheros devices. It changes detect_atheros() function to continue with the detection of every device present and don't return when just one is found Signed-off-by: Vasilis Tsiligiannis <b_tsiligiannis@silverton.gr> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15940 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rwxr-xr-xpackage/madwifi/files/lib/wifi/madwifi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh
index 24d371b386..47241313b9 100755
--- a/package/madwifi/files/lib/wifi/madwifi.sh
+++ b/package/madwifi/files/lib/wifi/madwifi.sh
@@ -361,7 +361,7 @@ detect_atheros() {
"
;;
esac
- [ "$type" = atheros ] && return
+ [ "$type" = atheros ] && continue
cat <<EOF
config wifi-device $dev
option type atheros