acx: Detect every device present

SVN-Revision: 26150
This commit is contained in:
Vasilis Tsiligiannis 2011-03-13 20:58:20 +00:00
parent 71e83bd2e1
commit 435f4374a4

View File

@ -181,7 +181,7 @@ detect_acx() {
cd /sys/class/net cd /sys/class/net
for dev in $(ls -d wlan* 2>&-); do for dev in $(ls -d wlan* 2>&-); do
config_get type "$dev" type config_get type "$dev" type
[ "$type" = acx ] && return [ "$type" = acx ] && continue
cat <<EOF cat <<EOF
config wifi-device $dev config wifi-device $dev
option type acx option type acx