summaryrefslogtreecommitdiff
path: root/package/mac80211/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-03-27 21:14:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-03-27 21:14:59 +0000
commitca749bea976300c4c5c2b67e132aefdda8ce1f3e (patch)
tree54a9fed2fd41fb18060e83827a22af4d3f3202d6 /package/mac80211/files
parent4aab5d7c49e7de258cc5c20d95dec0d0138cff2f (diff)
downloadmtk-20170518-ca749bea976300c4c5c2b67e132aefdda8ce1f3e.zip
mtk-20170518-ca749bea976300c4c5c2b67e132aefdda8ce1f3e.tar.gz
mtk-20170518-ca749bea976300c4c5c2b67e132aefdda8ce1f3e.tar.bz2
wifi: fix hostapd + autochannel
SVN-Revision: 15055
Diffstat (limited to 'package/mac80211/files')
-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 47be580..2721e4d 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