projects
/
librecmc
/
librecmc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89e74f6
)
broadcom-wl: introduce "disabled" option for wifi-iface section to shutdown single...
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 8 Sep 2011 23:34:13 +0000
(23:34 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 8 Sep 2011 23:34:13 +0000
(23:34 +0000)
SVN-Revision: 28200
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 183aa08867f718109ec6be074087d4b10e43a98d..f4d5213969c35a55360f16eb49eef6c55d26d989 100644
(file)
--- a/
package/broadcom-wl/files/lib/wifi/broadcom.sh
+++ b/
package/broadcom-wl/files/lib/wifi/broadcom.sh
@@
-3,12
+3,15
@@
append DRIVERS "broadcom"
scan_broadcom() {
local device="$1"
local wds
- local adhoc sta apmode mon
+ local adhoc sta apmode mon
disabled
local adhoc_if sta_if ap_if mon_if
local _c=0
config_get vifs "$device" vifs
for vif in $vifs; do
+ config_get_bool disabled "$vif" disabled 0
+ [ $disabled -eq 0 ] || continue
+
config_get mode "$vif" mode
_c=$(($_c + 1))
case "$mode" in