blob: 105e1885c2bcfa8200c2eb9f07710b18c267eb5f [file] [log] [blame]
developerd0c0b7a2023-09-14 11:05:02 +08001From d11dea1d3dee3577be404bfb6f7dc2460858242d Mon Sep 17 00:00:00 2001
2From: mtk20656 <chank.chen@mediatek.com>
3Date: Wed, 13 Sep 2023 19:29:51 +0800
4Subject: [PATCH] [hostapd][mt76]6g bss connect do not consider ht operation
5
6Signed-off-by: mtk20656 <chank.chen@mediatek.com>
7---
8 src/ap/ieee802_11.c | 3 ++-
9 1 file changed, 2 insertions(+), 1 deletion(-)
10
11diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
12old mode 100755
13new mode 100644
14index ef520c8..904b1b5
15--- a/src/ap/ieee802_11.c
16+++ b/src/ap/ieee802_11.c
17@@ -5434,7 +5434,8 @@ static void handle_assoc(struct hostapd_data *hapd,
18 ieee802_11_set_beacons(hapd->iface);
19 }
20
21- update_ht_state(hapd, sta);
22+ if (!is_6ghz_op_class(hapd->iconf->op_class))
23+ update_ht_state(hapd, sta);
24
25 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
26 HOSTAPD_LEVEL_DEBUG,
27--
282.18.0
29