diff options
author | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-09-29 12:37:04 +0000 |
---|---|---|
committer | acinonyx <acinonyx@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-09-29 12:37:04 +0000 |
commit | 2389b46d1d07068a3d708cf6e42b54f3b872fd97 (patch) | |
tree | 01114df7f690b123744ee0c7f6986170532637c3 /package | |
parent | 4adb2149b4adad6f20c4d0bc1a8e67c3b642316a (diff) |
[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
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 820a2e7861..1491c6d54a 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) |