瀏覽代碼

hostapd: allow mixed TKIP/CCMP for 11n

SVN-Revision: 25543
Jo-Philipp Wich 15 年之前
父節點
當前提交
f1ac8cf285
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      package/hostapd/files/hostapd.sh

+ 2 - 2
package/hostapd/files/hostapd.sh

@@ -50,8 +50,8 @@ hostapd_set_bss_options() {
 	esac
 
 	# enforce CCMP for 11ng and 11na
-	case "$hwmode" in
-		*ng|*na) crypto="CCMP";;
+	case "$hwmode:$crypto" in
+		*ng:TKIP|*na:TKIP) crypto="CCMP TKIP";;
 	esac
 
 	# use crypto/auth settings for building the hostapd config