1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 22:43:53 +01:00

fix wrong numbering of interfaces in wireless detection

SVN-Revision: 19525
This commit is contained in:
Jo-Philipp Wich 2010-02-04 17:11:56 +00:00
parent 01af81f06f
commit 76df66cda8

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