* [PATCH 4/6] ath5k: Fix reporting of RX dma stop failure
@ 2010-12-03 4:09 Nick Kossifidis
2010-12-03 6:35 ` Sedat Dilek
0 siblings, 1 reply; 2+ messages in thread
From: Nick Kossifidis @ 2010-12-03 4:09 UTC (permalink / raw)
To: ath5k-devel, linux-wireless
Cc: linville, me, mcgrof, jirislaby, nbd, br1, sedat.dilek
* Correctly report failure to stop RX DMA
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
---
drivers/net/wireless/ath/ath5k/dma.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/wireless/ath/ath5k/dma.c b/drivers/net/wireless/ath/ath5k/dma.c
index 82541fe..0064be7 100644
--- 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");
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 4/6] ath5k: Fix reporting of RX dma stop failure
2010-12-03 4:09 [PATCH 4/6] ath5k: Fix reporting of RX dma stop failure Nick Kossifidis
@ 2010-12-03 6:35 ` Sedat Dilek
0 siblings, 0 replies; 2+ messages in thread
From: Sedat Dilek @ 2010-12-03 6:35 UTC (permalink / raw)
To: ath5k-devel, linux-wireless, linville, me, mcgrof, jirislaby, nbd,
br1, sedat.dilek
Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
On Fri, Dec 3, 2010 at 5:09 AM, Nick Kossifidis <mickflemm@gmail.com> wrote:
> * Correctly report failure to stop RX DMA
>
> Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
>
> ---
> drivers/net/wireless/ath/ath5k/dma.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/net/wireless/ath/ath5k/dma.c b/drivers/net/wireless/ath/ath5k/dma.c
> index 82541fe..0064be7 100644
> --- 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");
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-03 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-03 4:09 [PATCH 4/6] ath5k: Fix reporting of RX dma stop failure Nick Kossifidis
2010-12-03 6:35 ` Sedat Dilek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).