wifi: mac80211: remove TDLS peers only on affected link
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Feb 2024 08:55:47 +0000 (09:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:34:03 +0000 (14:34 +0100)
commit85977fc0aa489420709779cbc859966db94be68f
tree84da7e99e0669380b3ed462663504e0d27e7fd19
parentf3dee30c6791e22633d9d7e43e48c1dff946cc0b
wifi: mac80211: remove TDLS peers only on affected link

If a link does CSA, or if it changes SMPS mode, we need to
drop the TDLS peers, but we really should drop them only on
the affected link. Fix that.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://msgid.link/20240228095719.00d1d793f5b8.Ia9971316c6b3922dd371d64ac2198f91ed5ad9d2@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/cfg.c
net/mac80211/ieee80211_i.h
net/mac80211/mlme.c
net/mac80211/tdls.c