ath5k: Fix reporting of RX dma stop failure
* Correctly report failure to stop RX DMA Signed-off-by: Nick Kossifidis <mickflemm@gmail.com> Tested-by: Sedat Dilek <sedat.dilek@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
344b54b971
commit
f0e134a53a
@@ -72,7 +72,7 @@ static int ath5k_hw_stop_rx_dma(struct ath5k_hw *ah)
|
|||||||
i--)
|
i--)
|
||||||
udelay(100);
|
udelay(100);
|
||||||
|
|
||||||
if (i)
|
if (!i)
|
||||||
ATH5K_DBG(ah->ah_sc, ATH5K_DEBUG_DMA,
|
ATH5K_DBG(ah->ah_sc, ATH5K_DEBUG_DMA,
|
||||||
"failed to stop RX DMA !\n");
|
"failed to stop RX DMA !\n");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user