rt2800: initialize queues before giving up due to DMA error
authorJakub Kicinski <kubakici@wp.pl>
Tue, 3 Apr 2012 01:40:49 +0000 (03:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Apr 2012 18:32:48 +0000 (14:32 -0400)
commit52b8243b75598c341143f67c56b0104938487231
treeede3849e4fd841a7d5db332422af09e1913d6754
parentb7e1d225f5c2d397136fd79472d32b0f87017612
rt2800: initialize queues before giving up due to DMA error

Don't immediately abort .start if DMA is busy before we
initialize the queues. Some drivers do not deinitialize
queues properly and we would fail to take over after them.

This behaviour is consistent with legacy driver.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Reviewed-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2800pci.c