summaryrefslogtreecommitdiffstats
path: root/package/acx/files
diff options
context:
space:
mode:
authoracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 20:58:20 +0000
committeracinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-03-13 20:58:20 +0000
commit14fa9abd6f0311f7383d03f2c6df5df8bd945467 (patch)
treef3b261f74f8038b6890f7d6e3d14668f9d375afb /package/acx/files
parent6c70430aed386aefe7cf8a0e76af920190a9f3ff (diff)
[package] acx: Detect every device present
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26150 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/acx/files')
-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 07ff03e01..f35cd2a4c 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