developer | b85e875 | 2023-09-25 14:16:05 +0800 | [diff] [blame^] | 1 | From d11dea1d3dee3577be404bfb6f7dc2460858242d Mon Sep 17 00:00:00 2001 |
| 2 | From: mtk20656 <chank.chen@mediatek.com> |
| 3 | Date: Wed, 13 Sep 2023 19:29:51 +0800 |
| 4 | Subject: [PATCH] [hostapd][mt76]6g bss connect do not consider ht operation |
| 5 | |
| 6 | Signed-off-by: mtk20656 <chank.chen@mediatek.com> |
| 7 | --- |
| 8 | src/ap/ieee802_11.c | 3 ++- |
| 9 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 10 | |
| 11 | diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c |
| 12 | old mode 100755 |
| 13 | new mode 100644 |
| 14 | index 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 | -- |
| 28 | 2.18.0 |
| 29 | |