developer | e0cba19 | 2023-07-28 07:08:38 +0800 | [diff] [blame] | 1 | From b20079072560a987e0248c960a6c0f2cdbbe8ab7 Mon Sep 17 00:00:00 2001 |
developer | b8e819d | 2023-04-14 07:10:47 +0800 | [diff] [blame] | 2 | From: Evelyn Tsai <evelyn.tsai@mediatek.com> |
| 3 | Date: Fri, 14 Apr 2023 06:55:22 +0800 |
developer | e0cba19 | 2023-07-28 07:08:38 +0800 | [diff] [blame] | 4 | Subject: [PATCH 17/19] mac80211: mtk: update max_bssid_indicator based on real |
developer | b8e819d | 2023-04-14 07:10:47 +0800 | [diff] [blame] | 5 | BSS numbers |
| 6 | |
| 7 | --- |
| 8 | net/mac80211/cfg.c | 3 +-- |
| 9 | 1 file changed, 1 insertion(+), 2 deletions(-) |
| 10 | |
| 11 | diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c |
developer | e0cba19 | 2023-07-28 07:08:38 +0800 | [diff] [blame] | 12 | index 95ca8a4..56381f8 100644 |
developer | b8e819d | 2023-04-14 07:10:47 +0800 | [diff] [blame] | 13 | --- a/net/mac80211/cfg.c |
| 14 | +++ b/net/mac80211/cfg.c |
| 15 | @@ -1073,8 +1073,7 @@ static int ieee80211_assign_beacon(struct ieee80211_sub_if_data *sdata, |
| 16 | pos += struct_size(new->mbssid_ies, elem, mbssid->cnt); |
| 17 | ieee80211_copy_mbssid_beacon(pos, new->mbssid_ies, mbssid); |
| 18 | /* update bssid_indicator */ |
| 19 | - sdata->vif.bss_conf.bssid_indicator = |
| 20 | - ilog2(__roundup_pow_of_two(mbssid->cnt + 1)); |
| 21 | + sdata->vif.bss_conf.bssid_indicator = *(pos + 2); |
| 22 | } |
| 23 | |
| 24 | if (csa) { |
| 25 | -- |
| 26 | 2.18.0 |
| 27 | |