Browse Source

ar71xx: fix typo

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 37759
Felix Fietkau 12 years ago
parent
commit
53c3b2a193

+ 1 - 1
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)