diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-20 20:44:19 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-20 20:44:19 +0000 |
commit | 64987ddf85457801db9239d0ecff761344922c33 (patch) | |
tree | 53fcd163697ac29514d5471fd679aca62ab0f1ae /package/madwifi | |
parent | bfd1ee8d2db4a9fab8c26a7cc04bad6756ebad52 (diff) | |
download | upstream-64987ddf85457801db9239d0ecff761344922c33.tar.gz upstream-64987ddf85457801db9239d0ecff761344922c33.tar.bz2 upstream-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
Diffstat (limited to 'package/madwifi')
-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 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 |