ar71xx: fix typo

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37759 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2013-08-12 12:41:53 +00:00
parent ee79267e1c
commit 45e13d91a6
1 changed files with 1 additions and 1 deletions

View File

@ -848,7 +848,7 @@ static int ag71xx_tx_packets(struct ag71xx *ag)
DBG("%s: %d packets sent out\n", ag->dev->name, sent); DBG("%s: %d packets sent out\n", ag->dev->name, sent);
if (!sent) if (!sent)
return; return 0;
netdev_completed_queue(ag->dev, sent, bytes_compl); netdev_completed_queue(ag->dev, sent, bytes_compl);
if ((ring->curr - ring->dirty) < (ring->size * 3) / 4) if ((ring->curr - ring->dirty) < (ring->size * 3) / 4)