hostap-driver: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio

SVN-Revision: 28318
master
Vasilis Tsiligiannis 13 years ago
parent f8bfab96cb
commit f3be1b4890
  1. 3
      package/hostap-driver/files/lib/wifi/hostap.sh

@ -39,6 +39,9 @@ scan_prism2() {
config_get vifs "$device" vifs config_get vifs "$device" vifs
local _c=0 local _c=0
for vif in $vifs; do for vif in $vifs; do
config_get_bool disabled "$vif" disabled 0
[ $disabled = 0 ] || continue
config_get mode "$vif" mode config_get mode "$vif" mode
case "$mode" in case "$mode" in
adhoc|sta|ap|monitor) adhoc|sta|ap|monitor)

Loading…
Cancel
Save