wifi: fix hostapd + autochannel

SVN-Revision: 15055
This commit is contained in:
Felix Fietkau
2009-03-27 21:14:59 +00:00
parent 4aab5d7c49
commit ca749bea97
3 changed files with 46 additions and 15 deletions

View File

@@ -54,6 +54,7 @@ enable_mac80211() {
local first=1
local mesh_idx=0
wifi_fixup_hwmode "$device" "g"
for vif in $vifs; do
ifconfig "$ifname" down 2>/dev/null
config_get ifname "$vif" ifname