developer | dad89a3 | 2024-04-29 14:17:17 +0800 | [diff] [blame] | 1 | From 3529be517dc9be0c911b06a1165ae80e3d051238 Mon Sep 17 00:00:00 2001 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 2 | From: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 3 | Date: Fri, 15 Mar 2024 14:34:11 +0800 |
| 4 | Subject: [PATCH 55/61] mtk: mac80211: fix mlo BW 160 channel switch issue |
| 5 | |
| 6 | The link_id argument for cfg80211_ch_switch_started_notify is missing |
| 7 | after maintainer rebasing for chanreq |
| 8 | The original commit has link_id instead of 0 |
| 9 | https://patchwork.kernel.org/project/linux-wireless/list/?series=821321&state=* |
| 10 | |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 11 | Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com> |
| 12 | --- |
| 13 | net/mac80211/cfg.c | 2 +- |
| 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 15 | |
| 16 | diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c |
| 17 | index cca3e08..856c956 100644 |
| 18 | --- a/net/mac80211/cfg.c |
| 19 | +++ b/net/mac80211/cfg.c |
| 20 | @@ -4045,7 +4045,7 @@ __ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev, |
| 21 | } |
| 22 | |
| 23 | cfg80211_ch_switch_started_notify(sdata->dev, |
| 24 | - &link_data->csa_chanreq.oper, 0, |
| 25 | + &link_data->csa_chanreq.oper, link_id, |
| 26 | params->count, params->block_tx); |
| 27 | |
| 28 | if (changed) { |
| 29 | -- |
developer | dad89a3 | 2024-04-29 14:17:17 +0800 | [diff] [blame] | 30 | 2.18.0 |
developer | 66e89bc | 2024-04-23 14:50:01 +0800 | [diff] [blame] | 31 | |