projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[package] acx: Detect every device present
[openwrt.git]
/
package
/
acx
/
files
/
lib
/
wifi
/
acx.sh
diff --git
a/package/acx/files/lib/wifi/acx.sh
b/package/acx/files/lib/wifi/acx.sh
index
07ff03e
..
f35cd2a
100644
(file)
--- 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