aboutsummaryrefslogtreecommitdiffstats
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
parent6c07306d32903e33603e6b8c81eb6ceeac23384c (diff)
downloadupstream-38b256105de61924d9a7c1c705f0fc84d7798479.tar.gz
upstream-38b256105de61924d9a7c1c705f0fc84d7798479.tar.bz2
upstream-38b256105de61924d9a7c1c705f0fc84d7798479.zip
hostapd: fixup madwifi turbo modes (#7060)
SVN-Revision: 20675
-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 9ef8282bd3..9dc18366d9 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"