projects
/
platform
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
344b54b
)
ath5k: Fix reporting of RX dma stop failure
author
Nick Kossifidis
<mickflemm@gmail.com>
Fri, 3 Dec 2010 04:09:38 +0000
(06:09 +0200)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 6 Dec 2010 21:01:27 +0000
(16:01 -0500)
* 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>
drivers/net/wireless/ath/ath5k/dma.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath5k/dma.c
b/drivers/net/wireless/ath/ath5k/dma.c
index
82541fe
..
0064be7
100644
(file)
--- a/
drivers/net/wireless/ath/ath5k/dma.c
+++ b/
drivers/net/wireless/ath/ath5k/dma.c
@@
-72,7
+72,7
@@
static int ath5k_hw_stop_rx_dma(struct ath5k_hw *ah)
i--)
udelay(100);
- if (i)
+ if (
!
i)
ATH5K_DBG(ah->ah_sc, ATH5K_DEBUG_DMA,
"failed to stop RX DMA !\n");