projects
/
openwrt
/
staging
/
lynxis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01af81f
)
fix wrong numbering of interfaces in wireless detection
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 4 Feb 2010 17:11:56 +0000
(17:11 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 4 Feb 2010 17:11:56 +0000
(17:11 +0000)
SVN-Revision: 19525
package/broadcom-wl/files/lib/wifi/broadcom.sh
patch
|
blob
|
history
diff --git
a/package/broadcom-wl/files/lib/wifi/broadcom.sh
b/package/broadcom-wl/files/lib/wifi/broadcom.sh
index 75f8b085bb2b077d82badb1ed86c98075bd3e323..c444ce8fd58fa4276ff6dfadae6936857b49905a 100644
(file)
--- a/
package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/
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