From: Vasilis Tsiligiannis Date: Thu, 29 Sep 2011 12:37:04 +0000 (+0000) Subject: [package] hostap-driver: introduce "disabled" option for wifi-iface section to shutdo... X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6456946aa942b864dbc3622e5d58a0fe2b8d6c6f;p=openwrt%2Fsvn-archive%2Farchive.git [package] hostap-driver: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio SVN-Revision: 28318 --- 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)