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 | |
parent | f18fd5512ed33f85b42175788a40ec7aaa357be3 (diff) | |
download | mtk-20170518-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.zip mtk-20170518-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.tar.gz mtk-20170518-53c3b2a19384ce8657ec62a24ec6d2dfb444a835.tar.bz2 |
ar71xx: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 37759
Diffstat (limited to 'target/linux/ar71xx/files/drivers')
-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 8c62a4d..9307169 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) |