mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-05 03:41:52 +02: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:
parent
11cce41343
commit
64f5d1ab97
@ -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…
Reference in New Issue
Block a user