hostapd: enable ht40 in wpa_supplicant when using wider HE modes (#7737)

Signed-off-by: Felix Fietkau <nbd@nbd.name>

Co-authored-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Beginner 2021-08-25 01:46:50 +08:00 committed by GitHub
parent 9b519e7747
commit b23e6fa3ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1169,7 +1169,7 @@ wpa_supplicant_set_fixed_freq() {
case "$htmode" in
NOHT) append network_data "disable_ht=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";;
HT40*|VHT40|VHT80|VHT160|HE40|HE80|HE160) append network_data "ht40=1" "$N$T";;
esac
case "$htmode" in
VHT*) append network_data "vht=1" "$N$T";;