[package] acx: Detect every device present
authorVasilis Tsiligiannis <acinonyx@openwrt.gr>
Sun, 13 Mar 2011 20:58:20 +0000 (20:58 +0000)
committerVasilis Tsiligiannis <acinonyx@openwrt.gr>
Sun, 13 Mar 2011 20:58:20 +0000 (20:58 +0000)
SVN-Revision: 26150

package/acx/files/lib/wifi/acx.sh

index 07ff03e015c501c8199aad976286ff6f01b8e189..f35cd2a4c47e8b99f75ff6bb1cb4dffb498fc5c1 100644 (file)
@@ -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