diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-20 20:44:19 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-05-20 20:44:19 +0000 |
commit | 1a0587ec49981f908521195a5e2f013a73fe31fb (patch) | |
tree | 53fcd163697ac29514d5471fd679aca62ab0f1ae | |
parent | 71aa5e09c4114f4bf187806385d1829c146d4d2c (diff) |
[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-x | package/madwifi/files/lib/wifi/madwifi.sh | 2 |
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 24d371b38..47241313b 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 |