1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-09-30 00:51:40 +03:00

[brcm-2.4] fix wrong numbering of interfaces in wireless detection

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19525 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-02-04 17:11:56 +00:00
parent 11cce41343
commit 64f5d1ab97

View File

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