summaryrefslogtreecommitdiff
path: root/package/acx/files/lib/wifi
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-03-13 20:58:20 +0000
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>2011-03-13 20:58:20 +0000
commit435f4374a43e269de26d7ea36aa6a89bd1ae6f7a (patch)
tree530d798dcf83e485bcee4b507712b01063c6716b /package/acx/files/lib/wifi
parent71e83bd2e1def1f35c8e863816dfd519ba832096 (diff)
downloadmtk-20170518-435f4374a43e269de26d7ea36aa6a89bd1ae6f7a.zip
mtk-20170518-435f4374a43e269de26d7ea36aa6a89bd1ae6f7a.tar.gz
mtk-20170518-435f4374a43e269de26d7ea36aa6a89bd1ae6f7a.tar.bz2
acx: Detect every device present
SVN-Revision: 26150
Diffstat (limited to 'package/acx/files/lib/wifi')
-rw-r--r--package/acx/files/lib/wifi/acx.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/acx/files/lib/wifi/acx.sh b/package/acx/files/lib/wifi/acx.sh
index 07ff03e..f35cd2a 100644
--- a/package/acx/files/lib/wifi/acx.sh
+++ b/package/acx/files/lib/wifi/acx.sh
@@ -181,7 +181,7 @@ detect_acx() {
cd /sys/class/net
for dev in $(ls -d wlan* 2>&-); do
config_get type "$dev" type
- [ "$type" = acx ] && return
+ [ "$type" = acx ] && continue
cat <<EOF
config wifi-device $dev
option type acx