aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2021-08-16 10:07:55 +0200
committerFelix Fietkau <nbd@nbd.name>2021-11-23 18:30:05 +0100
commitc254d83ea821b35a09436bf1cab4b74e62ee0330 (patch)
treedfed12104dd3f74f9a8a08300548461540a24dfb
parent0243f094659be149cf1128b9d03b6e20ae6b920d (diff)
downloadupstream-c254d83ea821b35a09436bf1cab4b74e62ee0330.tar.gz
upstream-c254d83ea821b35a09436bf1cab4b74e62ee0330.tar.bz2
upstream-c254d83ea821b35a09436bf1cab4b74e62ee0330.zip
hostapd: enable ht40 in wpa_supplicant when using wider HE modes
Signed-off-by: Felix Fietkau <nbd@nbd.name> (cherry-picked from commit c26d741d07632451337810aaecd500a0b3cbf44f)
-rw-r--r--package/network/services/hostapd/files/hostapd.sh2
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 e4812c9ee5..b52667d09a 100644
--- a/package/network/services/hostapd/files/hostapd.sh
+++ b/package/network/services/hostapd/files/hostapd.sh
@@ -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";;