]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: mac80211: correctly check if CSA is active
authorMiri Korenblit <miriam.rachel.korenblit@intel.com>
Sun, 11 Jan 2026 17:19:30 +0000 (19:19 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 12 Jan 2026 18:36:18 +0000 (19:36 +0100)
commitdb1d0b6ab11f612ea8a327663a578c8946efeee9
treeface4971acc77af72bdae7cd91c2a1a0eb722cec
parenta3034bf0746d88a00cceda9541534a5721445a24
wifi: mac80211: correctly check if CSA is active

We are not adding an interface if an existing one is doing CSA.
But the check won't work for MLO station interfaces, since for those,
vif->bss_conf is zeroed out.
Fix this by checking if any link of the vif has an active CSA.

Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20260111191912.7ceff62fc561.Ia38d27f42684d1cfd82d930d232bd5dea6ab9282@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/iface.c