diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-12-08 08:31:25 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-12-08 08:31:25 +0000 |
commit | 2a680498b3ca15a05ef471365ae2845dd09ea105 (patch) | |
tree | 1dab2312625d53fba5d053005ed582300047d014 /target/linux | |
parent | d058a11ada25707e4772c0be91f94a9bf3dec032 (diff) | |
download | upstream-2a680498b3ca15a05ef471365ae2845dd09ea105.tar.gz upstream-2a680498b3ca15a05ef471365ae2845dd09ea105.tar.bz2 upstream-2a680498b3ca15a05ef471365ae2845dd09ea105.zip |
ag71xx driver: don't refill rx buffers twice
SVN-Revision: 13544
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c index 0e30c3a300..16cb4ddd39 100644 --- a/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c +++ b/target/linux/ar71xx/files/drivers/net/ag71xx/ag71xx_main.c @@ -649,8 +649,6 @@ static int ag71xx_rx_packets(struct ag71xx *ag, int limit) done++; ring->curr++; - if ((ring->curr - ring->dirty) > (AG71XX_RX_RING_SIZE / 4)) - ag71xx_ring_rx_refill(ag); } ag71xx_ring_rx_refill(ag); |