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, 24 Aug 2021 15:35:45 +0000 (17:35 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/services/hostapd/files/hostapd.sh

index 821905b05e4339ef0c580a0e0cdbccaefabf8cea..4f306317c733882fccc8c3bce5816dd34bf23034 100644 (file)
@@ -1167,7 +1167,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";;