summaryrefslogtreecommitdiff
path: root/package/mac80211/files/lib
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-27 21:14:59 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-03-27 21:14:59 +0000
commitdbaa421297b3576dbaf121faa13894139e3a39ec (patch)
treec2d9f37cc5a7fe3e1446132b529c9a117aeffc3f /package/mac80211/files/lib
parente9575c6635fa2361d4bab8ca372c21ee2401cadf (diff)
wifi: fix hostapd + autochannel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15055 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/files/lib')
-rw-r--r--package/mac80211/files/lib/wifi/mac80211.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh
index 47be5807ba..2721e4d7cb 100644
--- a/package/mac80211/files/lib/wifi/mac80211.sh
+++ b/package/mac80211/files/lib/wifi/mac80211.sh
@@ -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