[package] hostapd: fixup madwifi turbo modes (#7060)
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 3 Apr 2010 15:16:33 +0000 (15:16 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sat, 3 Apr 2010 15:16:33 +0000 (15:16 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20675 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/hostapd/files/hostapd.sh

index 9ef8282..9dc1836 100644 (file)
@@ -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"
This page took 0.022955 seconds and 4 git commands to generate.