summaryrefslogtreecommitdiffstats
path: root/net/mac80211/debugfs_sta.c
diff options
context:
space:
mode:
authorMichael Büsch2011-11-16 23:55:46 +0100
committerJohn W. Linville2011-11-17 20:40:37 +0100
commit2d1618170eb493d18f66f2ac03775409a6fb97c6 (patch)
treed9620c49810aa36cf993d2390a24ab42f0d73700 /net/mac80211/debugfs_sta.c
parentp54spi: Add missing spin_lock_init (diff)
downloadkernel-qcow2-linux-2d1618170eb493d18f66f2ac03775409a6fb97c6.tar.gz
kernel-qcow2-linux-2d1618170eb493d18f66f2ac03775409a6fb97c6.tar.xz
kernel-qcow2-linux-2d1618170eb493d18f66f2ac03775409a6fb97c6.zip
p54spi: Fix workqueue deadlock
priv->work must not be synced while priv->mutex is locked, because the mutex is taken in the work handler. Move cancel_work_sync down to after the device shutdown code. This is safe, because the work handler checks fw_state and bails out early in case of a race. Signed-off-by: Michael Buesch <m@bues.ch> Cc: <stable@vger.kernel.org> Acked-by: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/debugfs_sta.c')
0 files changed, 0 insertions, 0 deletions