mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
[ar71xx] ag71xx driver: don't refill rx buffers twice
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@13544 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
e0bfa7cae9
commit
e348e3753c
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user