aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-05-10 22:41:34 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-11 15:14:21 -0400
commit083e3e8d3dfeb191f349081c052ad3d20e8861f3 (patch)
tree4e38032f5acc54c8dac80beb1e069e1cc4ef401a /drivers
parent7fca8e26662e83fec0a0c55b9a977fe9e79f01da (diff)
ath9k: Fix bug in handling rx frames with invalid descriptor content
Don't send them for further processing. Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/wireless/ath/ath9k/recv.c1
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 ac60c4ee62d3..da54ff5f3d7e 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,
718 __skb_unlink(skb, &rx_edma->rx_fifo); 718 __skb_unlink(skb, &rx_edma->rx_fifo);
719 list_add_tail(&bf->list, &sc->rx.rxbuf); 719 list_add_tail(&bf->list, &sc->rx.rxbuf);
720 ath_rx_edma_buf_link(sc, qtype); 720 ath_rx_edma_buf_link(sc, qtype);
721 return true;
721 } 722 }
722 skb_queue_tail(&rx_edma->rx_buffers, skb); 723 skb_queue_tail(&rx_edma->rx_buffers, skb);
723 724