X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fyellowfin.c;h=76764237cde6f3daf268d1631e4d7d9e420c47ad;hb=aa11d958d1a6572eda08214d7c6a735804fe48a5;hp=a07580138e8109c10b958498dad13ca1f200ad1c;hpb=9d79b136910de2cf9e4f0e37c3048c0fc7d9eab3;p=pandora-kernel.git diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index a07580138e81..76764237cde6 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c @@ -830,7 +830,7 @@ static int yellowfin_start_xmit(struct sk_buff *skb, struct net_device *dev) if (skb_padto(skb, len)) { yp->tx_skbuff[entry] = NULL; netif_wake_queue(dev); - return 0; + return NETDEV_TX_OK; } } } @@ -884,7 +884,7 @@ static int yellowfin_start_xmit(struct sk_buff *skb, struct net_device *dev) printk(KERN_DEBUG "%s: Yellowfin transmit frame #%d queued in slot %d.\n", dev->name, yp->cur_tx, entry); } - return 0; + return NETDEV_TX_OK; } /* The interrupt handler does all of the Rx thread work and cleans up