blob: e210794c0976a448d18f89980fcfc72a113c4fdc [file] [log] [blame]
From 3529be517dc9be0c911b06a1165ae80e3d051238 Mon Sep 17 00:00:00 2001
From: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
Date: Fri, 15 Mar 2024 14:34:11 +0800
Subject: [PATCH 55/61] mtk: mac80211: fix mlo BW 160 channel switch issue
The link_id argument for cfg80211_ch_switch_started_notify is missing
after maintainer rebasing for chanreq
The original commit has link_id instead of 0
https://patchwork.kernel.org/project/linux-wireless/list/?series=821321&state=*
Signed-off-by: StanleyYP Wang <StanleyYP.Wang@mediatek.com>
---
net/mac80211/cfg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/mac80211/cfg.c b/net/mac80211/cfg.c
index cca3e08..856c956 100644
--- a/net/mac80211/cfg.c
+++ b/net/mac80211/cfg.c
@@ -4045,7 +4045,7 @@ __ieee80211_channel_switch(struct wiphy *wiphy, struct net_device *dev,
}
cfg80211_ch_switch_started_notify(sdata->dev,
- &link_data->csa_chanreq.oper, 0,
+ &link_data->csa_chanreq.oper, link_id,
params->count, params->block_tx);
if (changed) {
--
2.18.0