summaryrefslogtreecommitdiff
path: root/package
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
commitbd50b95bdee3e93e1ec50f4724cda09294eb00bc (patch)
tree92b7ff80cba0dab0d3a1b44794feff66b40e8b58 /package
parent6509fe4657e6b7cdfd4b3ec0078639008c965424 (diff)
downloadmtk-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-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 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