diff options
| author | Felix Fietkau <[email protected]> | 2022-12-21 11:47:47 +0100 |
|---|---|---|
| committer | Felix Fietkau <[email protected]> | 2023-02-03 14:47:15 +0100 |
| commit | de19b9c83654e323d83f839a550ca4af37fea15b (patch) | |
| tree | 2dca5a07067ef49f962631f5ff468d834ee986e0 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 8065c0e13f9875f597920a2af47e5dc2940a9c4f (diff) | |
wifi: mt76: mt7921: fix deadlock in mt7921_abort_roc
When mt7921_abort_roc is called with dev->mutex held, it can deadlock while
calling cancel_work_sync(&phy->roc_work), because the work function could
be waiting to acquire the mutex.
Fix this by flushing the work before taking the mutex
Reported-by: Mikhail Gavrilov <[email protected]>
Fixes: 034ae28b56f1 ("wifi: mt76: mt7921: introduce remain_on_channel support")
Fixes: 41ac53c899bd ("wifi: mt76: mt7921: introduce chanctx support")
Signed-off-by: Felix Fietkau <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions