mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 21:27:31 +02:00
[package] hostap-driver: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28318 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
4adb2149b4
commit
2389b46d1d
@ -39,6 +39,9 @@ scan_prism2() {
|
||||
config_get vifs "$device" vifs
|
||||
local _c=0
|
||||
for vif in $vifs; do
|
||||
config_get_bool disabled "$vif" disabled 0
|
||||
[ $disabled = 0 ] || continue
|
||||
|
||||
config_get mode "$vif" mode
|
||||
case "$mode" in
|
||||
adhoc|sta|ap|monitor)
|
||||
|
Loading…
Reference in New Issue
Block a user