diff options
author | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-09-29 12:37:04 +0000 |
---|---|---|
committer | Vasilis Tsiligiannis <acinonyx@openwrt.gr> | 2011-09-29 12:37:04 +0000 |
commit | f3be1b4890b624c7031681e54f8f24ca0b44196f (patch) | |
tree | 4cd816995d91d5453783336e3d6f7a9adf9a00d2 /package | |
parent | f8bfab96cb93a50ff30dbd8a3e2421fabf5f7299 (diff) | |
download | mtk-20170518-f3be1b4890b624c7031681e54f8f24ca0b44196f.zip mtk-20170518-f3be1b4890b624c7031681e54f8f24ca0b44196f.tar.gz mtk-20170518-f3be1b4890b624c7031681e54f8f24ca0b44196f.tar.bz2 |
hostap-driver: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio
SVN-Revision: 28318
Diffstat (limited to 'package')
-rwxr-xr-x | package/hostap-driver/files/lib/wifi/hostap.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 820a2e7..1491c6d 100755 --- a/package/hostap-driver/files/lib/wifi/hostap.sh +++ b/package/hostap-driver/files/lib/wifi/hostap.sh @@ -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) |