]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
wifi: mac80211: don't stop TTLM works again
authorJohannes Berg <johannes.berg@intel.com>
Mon, 6 May 2024 19:10:35 +0000 (21:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 May 2024 09:44:17 +0000 (11:44 +0200)
There's no need to stop works that have already been
stopped during disconnect, so don't.

Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://msgid.link/20240506211034.f8434be19f56.I021afadc538508da3bc8f95c89f424ca62b94bef@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c

index e0b44f47747be7da5e27e077962cd9929e113088..09451a6f74b8d1ca6d1a52b756da1c1555e777a0 100644 (file)
@@ -9217,9 +9217,6 @@ void ieee80211_mgd_stop(struct ieee80211_sub_if_data *sdata)
                          &ifmgd->csa_connection_drop_work);
        wiphy_delayed_work_cancel(sdata->local->hw.wiphy,
                                  &ifmgd->tdls_peer_del_work);
-       wiphy_delayed_work_cancel(sdata->local->hw.wiphy, &ifmgd->ttlm_work);
-       wiphy_delayed_work_cancel(sdata->local->hw.wiphy,
-                                 &ifmgd->neg_ttlm_timeout_work);
 
        if (ifmgd->assoc_data)
                ieee80211_destroy_assoc_data(sdata, ASSOC_TIMEOUT);