diff options
author | Vasanthakumar Thiagarajan <vasanth@atheros.com> | 2010-05-11 06:41:34 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-11 23:14:21 +0400 |
commit | 083e3e8d3dfeb191f349081c052ad3d20e8861f3 (patch) | |
tree | 4e38032f5acc54c8dac80beb1e069e1cc4ef401a /drivers/net/wireless/ath | |
parent | 7fca8e26662e83fec0a0c55b9a977fe9e79f01da (diff) | |
download | linux-083e3e8d3dfeb191f349081c052ad3d20e8861f3.tar.xz |
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/net/wireless/ath')
-rw-r--r-- | 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 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, __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); |