From d5365fc5d9668f607b100f630abeeb36c015359c Mon Sep 17 00:00:00 2001 From: Vasilis Tsiligiannis Date: Thu, 29 Sep 2011 23:50:25 +0000 Subject: [PATCH] [backfire] backport: "[package] hostap-driver: introduce "disabled" option for wifi-iface section to shutdown single networks on a radio" SVN-Revision: 28320 --- package/hostap-driver/files/lib/wifi/hostap.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/package/hostap-driver/files/lib/wifi/hostap.sh b/package/hostap-driver/files/lib/wifi/hostap.sh index 0c7a9d37b4..376bc7b1df 100755 --- a/package/hostap-driver/files/lib/wifi/hostap.sh +++ b/package/hostap-driver/files/lib/wifi/hostap.sh @@ -9,6 +9,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) -- 2.30.2