From: Felix Fietkau Date: Sun, 5 Dec 2010 19:17:53 +0000 (+0100) Subject: ath9k: fix a DMA related race condition on reset X-Git-Tag: v2.6.37-rc6~14^2~14^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=080e1a259acea10b6df8e2a8e49b47481940220a;p=pandora-kernel.git ath9k: fix a DMA related race condition on reset When ath_drain_all_txq fails to stop DMA, it issues a hw reset. This reset happens at a very problematic point in time, when the hardware rx path has not been stopped yet. This could lead to memory corruption, hardware hangs or other issues. To fix these issues, simply remove the reset entirely and check the tx DMA stop status to prevent problems with fast channel changes. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed