[openwrt/openwrt] hostapd: enable ht40 in wpa_supplicant when using wider HE modes

LEDE Commits lede-commits at lists.infradead.org
Tue Aug 24 08:35:56 PDT 2021


nbd pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/c26d741d07632451337810aaecd500a0b3cbf44f

commit c26d741d07632451337810aaecd500a0b3cbf44f
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Aug 16 10:07:55 2021 +0200

    hostapd: enable ht40 in wpa_supplicant when using wider HE modes
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/network/services/hostapd/files/hostapd.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh
index 821905b05e..4f306317c7 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -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";;



More information about the lede-commits mailing list