hostapd: enable ht40 in wpa_supplicant when using wider HE modes
authorFelix Fietkau <nbd@nbd.name>
Mon, 16 Aug 2021 08:07:55 +0000 (10:07 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 23 Nov 2021 17:30:05 +0000 (18:30 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
(cherry-picked from commit c26d741d07632451337810aaecd500a0b3cbf44f)

package/network/services/hostapd/files/hostapd.sh

index e4812c9ee54d34485dace081ec7f13b09702f61e..b52667d09ae01bd00a672e0b174e747a998daa8c 100644 (file)
@@ -1159,7 +1159,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";;