[PATCH v3 3/3] wifi: ath12k: use link ID for CSA finish

Aloka Dixit aloka.dixit at oss.qualcomm.com
Thu Feb 13 14:50:36 PST 2025


From: Rameshkumar Sundaram <rameshkumar.sundaram at oss.qualcomm.com>

Send link ID instead of default 0 to finish channel switch operation.

Signed-off-by: Rameshkumar Sundaram <rameshkumar.sundaram at oss.qualcomm.com>>
Signed-off-by: Aloka Dixit <aloka.dixit at oss.qualcomm.com>
---
 drivers/net/wireless/ath/ath12k/wmi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath12k/wmi.c b/drivers/net/wireless/ath/ath12k/wmi.c
index 4dd6cdf84571..198e22ec6735 100644
--- a/drivers/net/wireless/ath/ath12k/wmi.c
+++ b/drivers/net/wireless/ath/ath12k/wmi.c
@@ -6894,7 +6894,7 @@ ath12k_wmi_process_csa_switch_count_event(struct ath12k_base *ab,
 		}
 
 		if (arvif->is_up && conf->csa_active)
-			ieee80211_csa_finish(ahvif->vif, 0);
+			ieee80211_csa_finish(ahvif->vif, arvif->link_id);
 	}
 	rcu_read_unlock();
 }
-- 
2.34.1




More information about the ath11k mailing list