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 | bd50b95bdee3e93e1ec50f4724cda09294eb00bc (patch) | |
tree | 92b7ff80cba0dab0d3a1b44794feff66b40e8b58 /package/madwifi/files | |
parent | 6509fe4657e6b7cdfd4b3ec0078639008c965424 (diff) | |
download | upstream-bd50b95bdee3e93e1ec50f4724cda09294eb00bc.tar.gz upstream-bd50b95bdee3e93e1ec50f4724cda09294eb00bc.tar.bz2 upstream-bd50b95bdee3e93e1ec50f4724cda09294eb00bc.zip |
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>
SVN-Revision: 15940
Diffstat (limited to 'package/madwifi/files')
-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 |