diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 12:41:53 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-08-12 12:41:53 +0000 |
commit | 53c3b2a19384ce8657ec62a24ec6d2dfb444a835 (patch) | |
tree | 00dc946cd589263a7b10e8b01d7d43a937f44df1 /target/linux/ar71xx/files/drivers/net | |
parent | f18fd5512ed33f85b42175788a40ec7aaa357be3 (diff) | |
download | master-31e0f0ae-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.tar.gz master-31e0f0ae-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.tar.bz2 master-31e0f0ae-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.zip |
ar71xx: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37759
Diffstat (limited to 'target/linux/ar71xx/files/drivers/net')
-rw-r--r-- | target/linux/ar71xx/files/drivers/net/ethernet/atheros/ag71xx/ag71xx_main.c | 2 |
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) |