summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2022-12-21 11:47:47 +0100
committerFelix Fietkau <nbd@nbd.name>2023-02-03 14:47:15 +0100
commitde19b9c83654e323d83f839a550ca4af37fea15b (patch)
tree2dca5a07067ef49f962631f5ff468d834ee986e0 /tools/perf/scripts/python/bin
parent8065c0e13f9875f597920a2af47e5dc2940a9c4f (diff)
downloadlinux-de19b9c83654e323d83f839a550ca4af37fea15b.tar.gz
linux-de19b9c83654e323d83f839a550ca4af37fea15b.zip
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 <mikhail.v.gavrilov@gmail.com> Fixes: 034ae28b56f1 ("wifi: mt76: mt7921: introduce remain_on_channel support") Fixes: 41ac53c899bd ("wifi: mt76: mt7921: introduce chanctx support") Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions