소스 검색

hostapd: disable mbo by default

Enabling mbo by default on 802.11ax devices breaks for encryption types
that do not enable 802.11w by default. Disable mbo by default to fix
this. Enabling mbo by default on 802.11ax devices was not explained in
the commit message anyway.

Fixes: 6eee9836565c ("hostapd: introduce mbo option")
Signed-off-by: Stijn Tintel <[email protected]>
Stijn Tintel 3 년 전
부모
커밋
6556cad99d
1개의 변경된 파일1개의 추가작업 그리고 6개의 파일을 삭제
  1. 1 6
      package/network/services/hostapd/files/hostapd.sh

+ 1 - 6
package/network/services/hostapd/files/hostapd.sh

@@ -829,12 +829,7 @@ hostapd_set_bss_options() {
 	set_default bss_transition 0
 	set_default wnm_sleep_mode 0
 	set_default wnm_sleep_mode_no_keys 0
-
-	if [ "$enable_ax" -eq 1 ]; then
-		set_default mbo 1
-	else
-		set_default mbo 0
-	fi
+	set_default mbo 0
 
 	[ -n "$time_advertisement" ] && append bss_conf "time_advertisement=$time_advertisement" "$N"
 	[ -n "$time_zone" ] && append bss_conf "time_zone=$time_zone" "$N"