From 435f4374a43e269de26d7ea36aa6a89bd1ae6f7a Mon Sep 17 00:00:00 2001
From: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
Date: Sun, 13 Mar 2011 20:58:20 +0000
Subject: [PATCH] acx: Detect every device present

SVN-Revision: 26150
---
 package/acx/files/lib/wifi/acx.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.30.2