diff options
author | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-03 15:16:33 +0000 |
---|---|---|
committer | jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2010-04-03 15:16:33 +0000 |
commit | 4018c96b607fe8f6f06dafd688c66d57345c18bd (patch) | |
tree | 3852260abc131c199ce68ba03e1bd11885e77679 /package/hostapd/files | |
parent | e29bda76b5d5b085ce2e46dc5d52a455949647b4 (diff) |
[package] hostapd: fixup madwifi turbo modes (#7060)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20675 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/files')
-rw-r--r-- | package/hostapd/files/hostapd.sh | 3 |
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" |