projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85977fc
)
wifi: mac80211: remove TDLS peers on link deactivation
author
Johannes Berg
<johannes.berg@intel.com>
Wed, 28 Feb 2024 08:55:48 +0000
(09:55 +0100)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 4 Mar 2024 13:34:05 +0000
(14:34 +0100)
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
patch
|
blob
|
history
diff --git
a/net/mac80211/link.c
b/net/mac80211/link.c
index 87a413374eceefebbd1c70fd511b99f777da9204..685ec66b426425ea9539768a81b291a3db1cd999 100644
(file)
--- a/
net/mac80211/link.c
+++ b/
net/mac80211/link.c
@@
-356,7
+356,7
@@
static int _ieee80211_set_active_links(struct ieee80211_sub_if_data *sdata,
link = sdata_dereference(sdata->link[link_id], sdata);
- /* FIXME: kill TDLS connections on the link */
+ ieee80211_teardown_tdls_peers(link);
ieee80211_link_release_channel(link);
}