From: jow Date: Sat, 3 Apr 2010 15:18:41 +0000 (+0000) Subject: [backfire] merge r20675 X-Git-Url: http://git.ozo.com/?p=openwrt-10.03%2F.git;a=commitdiff_plain;h=b8fd33bf5e898c6d17aef757b3fe7879285325f7 [backfire] merge r20675 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20676 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/package/hostapd/files/hostapd.sh b/package/hostapd/files/hostapd.sh index 9ef8282bd..9dc18366d 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"