diff options
author | Jesus Fernandez Manzano <jesus.manzano@galgus.net> | 2021-07-20 12:13:49 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-11-23 18:30:04 +0100 |
commit | 345f8fc7f33843ea1cc2a1741409bc53a57120e5 (patch) | |
tree | 676d1bc1019529caa55cfeca1210bd88c7757ac3 /package | |
parent | 23909a85de5666a668707ee87c402ac1a05e7d0e (diff) | |
download | upstream-345f8fc7f33843ea1cc2a1741409bc53a57120e5.tar.gz upstream-345f8fc7f33843ea1cc2a1741409bc53a57120e5.tar.bz2 upstream-345f8fc7f33843ea1cc2a1741409bc53a57120e5.zip |
hostapd: respect fixed channel BW in HE20 mode
When using htmode 'HE20' with a radio mode that uses wpa-supplicant
(like mesh or sta), it will default to 40 MHz bw if disable_ht40 is not
set. This commit fixes this behaviour.
Signed-off-by: Jesus Fernandez Manzano <jesus.manzano@galgus.net>
(cherry-picked from commit af83e3ce0ff40dcecbe913676343bf86846294f7)
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/hostapd/files/hostapd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index d29bc13ccc..bbbbf9994b 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -1121,7 +1121,7 @@ wpa_supplicant_set_fixed_freq() { append network_data "frequency=$freq" "$N$T" case "$htmode" in NOHT) append network_data "disable_ht=1" "$N$T";; - HT20|VHT20) append network_data "disable_ht40=1" "$N$T";; + HE20|HT20|VHT20) append network_data "disable_ht40=1" "$N$T";; HT40*|VHT40*|VHT80*|VHT160*) append network_data "ht40=1" "$N$T";; esac case "$htmode" in |