X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=drivers%2Fnet%2Fau1000_eth.c;h=d3c734f4d679956e3fb16d88473ebeee35568606;hb=5b548140225c6bbbbd560551dd1048b2c0ce58be;hp=d58c105fc77939491f432e95648e3108f508ca24;hpb=c3310e7766ebe7491910715c3161a4f29fa0112e;p=mirror_ubuntu-bionic-kernel.git diff --git a/drivers/net/au1000_eth.c b/drivers/net/au1000_eth.c index d58c105fc779..d3c734f4d679 100644 --- a/drivers/net/au1000_eth.c +++ b/drivers/net/au1000_eth.c @@ -957,7 +957,7 @@ static int au1000_tx(struct sk_buff *skb, struct net_device *dev) /* We've wrapped around and the transmitter is still busy */ netif_stop_queue(dev); aup->tx_full = 1; - return 1; + return NETDEV_TX_BUSY; } else if (buff_stat & TX_T_DONE) { update_tx_stats(dev, ptxd->status);