Skip to content

Commit

Permalink
hostapd: disable mbo by default
Browse files Browse the repository at this point in the history
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: 6eee983 ("hostapd: introduce mbo option")
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
  • Loading branch information
stintel committed Jun 28, 2022
1 parent 7e21ce8 commit 6556cad
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions package/network/services/hostapd/files/hostapd.sh
Expand Up @@ -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"
Expand Down

0 comments on commit 6556cad

Please sign in to comment.