aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-08-12 12:41:53 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-08-12 12:41:53 +0000
commit53c3b2a19384ce8657ec62a24ec6d2dfb444a835 (patch)
tree00dc946cd589263a7b10e8b01d7d43a937f44df1
parentf18fd5512ed33f85b42175788a40ec7aaa357be3 (diff)
downloadupstream-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.tar.gz
upstream-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.tar.bz2
upstream-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.zip
ar71xx: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37759
-rw-r--r--target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
index 8c62a4d2c9..93071690e8 100644
--- a/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
+++ b/target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c
@@ -848,7 +848,7 @@ static int ag71xx_tx_packets(struct ag71xx *ag)
DBG("%s: %d packets sent out\n", ag->dev->name, sent);
if (!sent)
- return;
+ return 0;
netdev_completed_queue(ag->dev, sent, bytes_compl);
if ((ring->curr - ring->dirty) < (ring->size * 3) / 4)