blob: c2a88539b8d93f53edd7497d46a4dfeea629a5eb [file] [log] [blame]
developer05f3b2b2024-08-19 19:17:34 +08001From 1d5789bf2fb508516d7a650bf282a12f39eccda3 Mon Sep 17 00:00:00 2001
developer66e89bc2024-04-23 14:50:01 +08002From: mtk20656 <chank.chen@mediatek.com>
3Date: Wed, 13 Sep 2023 19:29:51 +0800
developer05f3b2b2024-08-19 19:17:34 +08004Subject: [PATCH 046/126] mtk: hostapd: 6g bss connect do not consider ht
developer66e89bc2024-04-23 14:50:01 +08005 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
developer05f3b2b2024-08-19 19:17:34 +080016index 258ab7943..ee698fa4a
developer66e89bc2024-04-23 14:50:01 +080017--- a/src/ap/ieee802_11.c
18+++ b/src/ap/ieee802_11.c
developer05f3b2b2024-08-19 19:17:34 +080019@@ -5667,7 +5667,7 @@ static void handle_assoc(struct hostapd_data *hapd,
developer66e89bc2024-04-23 14:50:01 +080020 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--
developer05f3b2b2024-08-19 19:17:34 +0800292.18.0
developer66e89bc2024-04-23 14:50:01 +080030