diff options
author | Johannes Berg <[email protected]> | 2024-01-25 09:51:09 +0100 |
---|---|---|
committer | Johannes Berg <[email protected]> | 2024-01-26 10:43:32 +0100 |
commit | b743287d7a0007493f5cada34ed2085d475050b4 (patch) | |
tree | fd8608c6853ffd594322b1d54690b4a32253c408 /scripts/generate_rust_analyzer.py | |
parent | 353d321f63f7dbfc9ef58498cc732c9fe886a596 (diff) |
wifi: cfg80211: fix wiphy delayed work queueing
When a wiphy work is queued with timer, and then again
without a delay, it's started immediately but *also*
started again after the timer expires. This can lead,
for example, to warnings in mac80211's offchannel code
as reported by Jouni. Running the same work twice isn't
expected, of course. Fix this by deleting the timer at
this point, when queuing immediately due to delay=0.
Cc: [email protected]
Reported-by: Jouni Malinen <[email protected]>
Fixes: a3ee4dc84c4e ("wifi: cfg80211: add a work abstraction with special semantics")
Link: https://msgid.link/20240125095108.2feb0eaaa446.I4617f3210ed0e7f252290d5970dac6a876aa595b@changeid
Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions