1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 22:53:09 +02:00

[backfire] merge r20675

git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@20676 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
jow 2010-04-03 15:18:41 +00:00
parent 2173e0d486
commit b8fd33bf5e

View File

@ -134,7 +134,8 @@ hostapd_setup_vif() {
config_get channel "$device" channel config_get channel "$device" channel
config_get hwmode "$device" hwmode config_get hwmode "$device" hwmode
case "$hwmode" in case "$hwmode" in
*bg) hwmode=g;; *bg|*gdt|*gst|*fh) hwmode=g;;
*adt|*ast) hwmode=a;;
esac esac
[ "$channel" = auto ] && channel= [ "$channel" = auto ] && channel=
[ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device" [ -n "$channel" -a -z "$hwmode" ] && wifi_fixup_hwmode "$device"