From 38b256105de61924d9a7c1c705f0fc84d7798479 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 3 Apr 2010 15:16:33 +0000 Subject: [PATCH] hostapd: fixup madwifi turbo modes (#7060) SVN-Revision: 20675 --- package/hostapd/files/hostapd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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" -- 2.30.2