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 | |
parent | 6509fe4657e6b7cdfd4b3ec0078639008c965424 (diff) | |
download | mtk-20170518-bd50b95bdee3e93e1ec50f4724cda09294eb00bc.zip mtk-20170518-bd50b95bdee3e93e1ec50f4724cda09294eb00bc.tar.gz mtk-20170518-bd50b95bdee3e93e1ec50f4724cda09294eb00bc.tar.bz2 |
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')
-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 24d371b..4724131 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 |