diff options
author | Johannes Berg <johannes.berg@intel.com> | 2024-02-12 18:50:16 +0100 |
---|---|---|
committer | iwlwifi publisher <> | 2024-04-17 12:50:16 +0000 |
commit | 856bc7a54d3751f2741d7a127828fd8827227bc0 (patch) | |
tree | 7b5fed75368baded0e6543b65e75000f77f168dc | |
parent | 9c286455030f02ace60f431bc50613a8f2be047f (diff) | |
download | backport-iwlwifi-856bc7a54d3751f2741d7a127828fd8827227bc0.tar.gz |
[BUGFIX] 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.
type=bugfix
fixes=I92385ba882ec984a9a2ad18293173436657e82aa
ticket=none
Change-Id: I3474dbde79e9e7a539d47f6f81f32e6c3e459080
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-on: https://gerritwcs.ir.intel.com/c/iwlwifi-stack-dev/+/94199
automatic-review: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Tested-by: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
tested: iil_jenkins iil_jenkins <EC.GER.UNIX.IIL.JENKINS@INTEL.COM>
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
x-iwlwifi-stack-dev: c53428e6a9dae59add068e7da183cb3a76dde10a
-rw-r--r-- | net/mac80211/link.c | 2 | ||||
-rw-r--r-- | versions | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/link.c b/net/mac80211/link.c index 4f19d6479b..6144dc73cb 100644 --- a/net/mac80211/link.c +++ b/net/mac80211/link.c @@ -354,7 +354,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); } @@ -2,4 +2,4 @@ BACKPORTS_VERSION="(see git)" BACKPORTED_KERNEL_VERSION="(see git)" BACKPORTED_KERNEL_NAME="iwlwifi" BACKPORTS_BUILD_TSTAMP=__DATE__ \" \" __TIME__ -BACKPORTS_GIT_TRACKED="iwlwifi-stack-public:master:11903:c0881fcb" +BACKPORTS_GIT_TRACKED="iwlwifi-stack-public:master:11904:c53428e6" |