wifi: mac80211: remove TDLS peers on link deactivation
authorJohannes Berg <johannes.berg@intel.com>
Wed, 28 Feb 2024 08:55:48 +0000 (09:55 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 4 Mar 2024 13:34:05 +0000 (14:34 +0100)
commit07fba2277fcedd0948bec657f76ef374d0157d93
treeae5473fb02d8ba2a814854fab0b960227eeec208
parent85977fc0aa489420709779cbc859966db94be68f
wifi: mac80211: remove TDLS peers on link deactivation

If a link is deactivated, we really cannot sustain any
TDLS connections on that link any more. With the API
now changed, fix this issue and remove TDLS connections.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Link: https://msgid.link/20240228095719.a7dd812c37bf.I3474dbde79e9e7a539d47f6f81f32e6c3e459080@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/link.c