aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-03-13 20:58:20 +0000
committerVasilis Tsiligiannis <b_tsiligiannis@silverton.gr>2011-03-13 20:58:20 +0000
commit7f2b269416691e1c06e7afd0fd74b13d5e7d2b24 (patch)
treef3b261f74f8038b6890f7d6e3d14668f9d375afb
parent20d30c59046b7ce296d5145c132c6bc8be2f5c20 (diff)
downloadupstream-7f2b269416691e1c06e7afd0fd74b13d5e7d2b24.tar.gz
upstream-7f2b269416691e1c06e7afd0fd74b13d5e7d2b24.tar.bz2
upstream-7f2b269416691e1c06e7afd0fd74b13d5e7d2b24.zip
[package] acx: Detect every device present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26150 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 07ff03e015..f35cd2a4c4 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