mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +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:
@@ -335,9 +335,9 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
detect_broadcom() {
|
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
|
config_get type wl${i} type
|
||||||
[ "$type" = broadcom ] && continue
|
[ "$type" = broadcom ] && continue
|
||||||
cat <<EOF
|
cat <<EOF
|
||||||
|
|||||||
Reference in New Issue
Block a user