blob: 7d6be8ab6ee9cba33f827873331cd39bf4877c19 [file] [log] [blame]
developer66e89bc2024-04-23 14:50:01 +08001From 8e01f276c2d7be41f3521026c92d8f1bd833865f Mon Sep 17 00:00:00 2001
2From: mtk20656 <chank.chen@mediatek.com>
3Date: Wed, 13 Sep 2023 19:29:51 +0800
4Subject: [PATCH 064/104] mtk: hostapd: 6g bss connect do not consider ht
5 operation
6
7Signed-off-by: mtk20656 <chank.chen@mediatek.com>
8---
9 src/ap/ieee802_11.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11 mode change 100755 => 100644 src/ap/ieee802_11.c
12
13diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
14old mode 100755
15new mode 100644
16index e42d4e1cc..923cbebcc
17--- a/src/ap/ieee802_11.c
18+++ b/src/ap/ieee802_11.c
19@@ -5591,7 +5591,7 @@ static void handle_assoc(struct hostapd_data *hapd,
20 set_beacon = true;
21 }
22
23- if (update_ht_state(hapd, sta) > 0)
24+ if (!is_6ghz_op_class(hapd->iconf->op_class) && update_ht_state(hapd, sta) > 0)
25 set_beacon = true;
26
27 hostapd_logger(hapd, sta->addr, HOSTAPD_MODULE_IEEE80211,
28--
292.39.2
30