summaryrefslogtreecommitdiff
path: root/package/hostapd
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-04-03 15:16:33 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-04-03 15:16:33 +0000
commit38b256105de61924d9a7c1c705f0fc84d7798479 (patch)
tree904108b6b4fbedb712069a82e8877598c6f11479 /package/hostapd
parent6c07306d32903e33603e6b8c81eb6ceeac23384c (diff)
downloadmtk-20170518-38b256105de61924d9a7c1c705f0fc84d7798479.zip
mtk-20170518-38b256105de61924d9a7c1c705f0fc84d7798479.tar.gz
mtk-20170518-38b256105de61924d9a7c1c705f0fc84d7798479.tar.bz2
hostapd: fixup madwifi turbo modes (#7060)
SVN-Revision: 20675
Diffstat (limited to 'package/hostapd')
-rw-r--r--package/hostapd/files/hostapd.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh
index 9ef8282..9dc1836 100644
--- a/package/hostapd/files/hostapd.sh
+++ b/package/hostapd/files/hostapd.sh
@@ -134,7 +134,8 @@ hostapd_setup_vif() {
config_get channel "$device" channel
config_get hwmode "$device" hwmode
case "$hwmode" in
- *bg) hwmode=g;;
+ *bg|*gdt|*gst|*fh) hwmode=g;;
+ *adt|*ast) hwmode=a;;
esac
[ "$channel" = auto ] && channel=
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"