All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ath9k: Fix bug in handling rx frames with invalid descriptor content
@ 2010-05-11  2:41 Vasanthakumar Thiagarajan
  2010-05-11  2:41 ` [PATCH 2/2] ath9k: Remove unused rx_edma in ath_rx_addbuffer_edma() Vasanthakumar Thiagarajan
  0 siblings, 1 reply; 2+ messages in thread
From: Vasanthakumar Thiagarajan @ 2010-05-11  2:41 UTC (permalink / raw)
  To: linville; +Cc: linux-wireless

Don't send them for further processing.

Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
---
 drivers/net/wireless/ath/ath9k/recv.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c
index ac60c4e..da54ff5 100644
--- a/drivers/net/wireless/ath/ath9k/recv.c
+++ b/drivers/net/wireless/ath/ath9k/recv.c
@@ -718,6 +718,7 @@ static bool ath_edma_get_buffers(struct ath_softc *sc,
 		__skb_unlink(skb, &rx_edma->rx_fifo);
 		list_add_tail(&bf->list, &sc->rx.rxbuf);
 		ath_rx_edma_buf_link(sc, qtype);
+		return true;
 	}
 	skb_queue_tail(&rx_edma->rx_buffers, skb);
 
-- 
1.7.0.4


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-05-11  2:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-11  2:41 [PATCH 1/2] ath9k: Fix bug in handling rx frames with invalid descriptor content Vasanthakumar Thiagarajan
2010-05-11  2:41 ` [PATCH 2/2] ath9k: Remove unused rx_edma in ath_rx_addbuffer_edma() Vasanthakumar Thiagarajan

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.