]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - drivers/net/pcnet32.c
net: use NETDEV_TX_OK instead of 0 in ndo_start_xmit() functions
[net-next-2.6.git] / drivers / net / pcnet32.c
index 1c35e1d637a0e30aecd6f3369a0f89cdbf34b972..955a87ac9afa2e9b79c70bfcc2387d566d2db9de 100644 (file)
@@ -2536,7 +2536,7 @@ static int pcnet32_start_xmit(struct sk_buff *skb, struct net_device *dev)
                netif_stop_queue(dev);
        }
        spin_unlock_irqrestore(&lp->lock, flags);
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 /* The PCNET32 interrupt handler. */