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 | e348e3753c7992b14dcfd710370030a20cf90c1e (patch) | |
tree | cf4abd8727304fde7684e8d4dfae8d5ab9d9387e /target/linux | |
parent | e0bfa7cae96d5a82c658885e7a26c7bab14dbcff (diff) | |
download | upstream-e348e3753c7992b14dcfd710370030a20cf90c1e.tar.gz upstream-e348e3753c7992b14dcfd710370030a20cf90c1e.tar.bz2 upstream-e348e3753c7992b14dcfd710370030a20cf90c1e.zip |
[ar71xx] ag71xx driver: don't refill rx buffers twice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13544 3c298f89-4303-0410-b956-a3cf2f4a3e73
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); |