]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: Update csa_finalize to use link_id
authorAditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Thu, 27 Nov 2025 10:11:24 +0000 (15:41 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 8 Jan 2026 12:11:01 +0000 (13:11 +0100)
commitbfcc957b6a6d992b4b4f6d9c2d66aabf1912b555
treee050f368b6a1642b5e32d0ad4fbbb5f1f1b510c1
parentdc4b176cce09b8f92ccdc8639feedc7b19e28740
wifi: mac80211: Update csa_finalize to use link_id

With cfg80211_stop_link() adding support to stop a link in AP/P2P_GO
mode, in failure cases only the corresponding link can be stopped,
instead of stopping the whole interface.

Hence, invoke cfg80211_stop_link() directly with the link_id set for
AP/P2P_GO mode when CSA finalization fails.

Signed-off-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Signed-off-by: Manish Dharanenthiran <manish.dharanenthiran@oss.qualcomm.com>
Link: https://patch.msgid.link/20251127-stop_link-v2-2-43745846c5fd@qti.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c