Ver código fonte

hostapd: fixup madwifi turbo modes (#7060)

SVN-Revision: 20675
Jo-Philipp Wich 15 anos atrás
pai
commit
38b256105d
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      package/hostapd/files/hostapd.sh

+ 2 - 1
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"