projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa4ec06
)
wifi: mac80211: fix TTLM teardown work
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 6 May 2024 19:18:52 +0000
(21:18 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Thu, 23 May 2024 09:40:23 +0000
(11:40 +0200)
The worker calculates the wrong sdata pointer, so if it ever
runs, it'll crash. Fix that.
Fixes:
a17a58ad2ff2
("wifi: mac80211: add support for tearing down negotiated TTLM")
Reviewed-by: Miriam Rachel Korenblit <miriam.rachel.korenblit@intel.com>
Link:
https://msgid.link/20240506211853.e6471800c76d.I8b7c2d6984c89a11cd33d1a610e9645fa965f6e1@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c
patch
|
blob
|
history
diff --git
a/net/mac80211/mlme.c
b/net/mac80211/mlme.c
index
a974a75
..
a29c4a4
100644
(file)
--- a/
net/mac80211/mlme.c
+++ b/
net/mac80211/mlme.c
@@
-7333,7
+7333,7
@@
static void ieee80211_teardown_ttlm_work(struct wiphy *wiphy,
u16 new_dormant_links;
struct ieee80211_sub_if_data *sdata =
container_of(work, struct ieee80211_sub_if_data,
- u.mgd.
neg_ttlm_timeout_work.
work);
+ u.mgd.
teardown_ttlm_
work);
if (!sdata->vif.neg_ttlm.valid)
return;