From: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
Date: Sun, 13 Mar 2011 20:58:20 +0000 (+0000)
Subject: acx: Detect every device present
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=435f4374a43e269de26d7ea36aa6a89bd1ae6f7a;p=openwrt%2Fstaging%2Faparcar.git

acx: Detect every device present

SVN-Revision: 26150
---

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