summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rt2x00/rt2500pci.c
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@web.de>2009-03-28 01:46:14 +0100
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:29 -0400
commit32c1628f153a5468cf48be5e5c04cd599ae9e01d (patch)
tree592608e027f1ff2bbd8344aebee2f88e5b21f74d /drivers/net/wireless/rt2x00/rt2500pci.c
parent807e37394b5a1dc23a2908b59f34edbbae67e9ea (diff)
downloadtalos-obmc-linux-32c1628f153a5468cf48be5e5c04cd599ae9e01d.tar.gz
talos-obmc-linux-32c1628f153a5468cf48be5e5c04cd599ae9e01d.zip
ar9170: fix hang on stop
This patch fixes a locking problem which freezes the network core. The deadlock goes as follows: - ar9170_op_stop - is called 1. change the state to IDLE 2. > take the MUTEX < 3. cancel_SYNC all pending work, which means "block until a work_struct's callback has terminated" => if filter_config_work was queued it tries to get the MUTEX, before checking the device state... Signed-off-by: Christian Lamparter <chunkeey@web.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2500pci.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud