fix wrong numbering of interfaces in wireless detection

SVN-Revision: 19525
master
Jo-Philipp Wich 15 years ago
parent 01af81f06f
commit 76df66cda8
  1. 4
      package/broadcom-wl/files/lib/wifi/broadcom.sh

@ -335,9 +335,9 @@ EOF
detect_broadcom() {
local i=0
local i=-1
while [ -f /proc/net/wl$((i++)) ]; do
while [ -f /proc/net/wl$((++i)) ]; do
config_get type wl${i} type
[ "$type" = broadcom ] && continue
cat <<EOF

Loading…
Cancel
Save