summaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2023-05-14 12:15:46 +0300
committerJohannes Berg <johannes.berg@intel.com>2023-05-16 10:27:04 -0700
commitc2d8b7f257b2398f2d866205365895e038beca12 (patch)
tree1eb7a1cec041990759204a98e04b37e934635f63 /lib/mpi
parent9e949dfdc5d1697ccbcc19c06f5133e1833d8eea (diff)
wifi: iwlwifi: mvm: fix cancel_delayed_work_sync() deadlock
Lockdep points out that we can deadlock here by calling cancel_delayed_work_sync() because that might be already running and gotten interrupted by the NAPI soft-IRQ. Even just calling something that can sleep is wrong in this context though. Luckily, it doesn't even really matter since the things we need to do are idempotent, so just drop the _sync(). Fixes: e5d153ec54f0 ("iwlwifi: mvm: fix CSA AP side") Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Gregory Greenman <gregory.greenman@intel.com> Link: https://lore.kernel.org/r/20230514120631.b1813c823b4d.I9d20cc06d24fa40b6774d3dd95ea5e2bf8dd015b@changeid Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions