blob: e210794c0976a448d18f89980fcfc72a113c4fdc [file] [log] [blame]
developerdad89a32024-04-29 14:17:17 +08001From 3529be517dc9be0c911b06a1165ae80e3d051238 Mon Sep 17 00:00:00 2001
developer66e89bc2024-04-23 14:50:01 +08002From: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
3Date: Fri, 15 Mar 2024 14:34:11 +0800
4Subject: [PATCH 55/61] mtk: mac80211: fix mlo BW 160 channel switch issue
5
6The link_id argument for cfg80211_ch_switch_started_notify is missing
7after maintainer rebasing for chanreq
8The original commit has link_id instead of 0
9https://patchwork.kernel.org/project/linux-wireless/list/?series=821321&state=*
10
developer66e89bc2024-04-23 14:50:01 +080011Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
12---
13 net/mac80211/cfg.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
17index 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--
developerdad89a32024-04-29 14:17:17 +0800302.18.0
developer66e89bc2024-04-23 14:50:01 +080031