]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit08c291d97bc9155460852aac8fe24f20c17add5f
treeede3849e4fd841a7d5db332422af09e1913d6754
parent8d017985b9a605eb361f18afc39f1a4a61843b8d
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