From 7a8a21c5f7962ec5bb58b17770bfe949af7da862 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 22 Sep 2011 02:53:37 +0000 Subject: [PATCH] [backfire] merge r28199 SVN-Revision: 28284 --- package/madwifi/files/lib/wifi/madwifi.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/package/madwifi/files/lib/wifi/madwifi.sh b/package/madwifi/files/lib/wifi/madwifi.sh index 51b60bc5df..564741b7ed 100755 --- a/package/madwifi/files/lib/wifi/madwifi.sh +++ b/package/madwifi/files/lib/wifi/madwifi.sh @@ -4,11 +4,13 @@ append DRIVERS "atheros" scan_atheros() { local device="$1" local wds - local adhoc ahdemo sta ap monitor + local adhoc ahdemo sta ap monitor disabled config_get vifs "$device" vifs for vif in $vifs; do - + config_get_bool disabled "$vif" disabled 0 + [ $disabled = 0 ] || continue + config_get ifname "$vif" ifname config_set "$vif" ifname "${ifname:-ath}" -- 2.30.2