net: xilinx_emaclite: Fix problem with first incoming packet
[cascardo/linux.git] / drivers / net / sunlance.c
index afc7b35..9d6fd47 100644 (file)
@@ -1163,7 +1163,7 @@ static int lance_start_xmit(struct sk_buff *skb, struct net_device *dev)
        dev->trans_start = jiffies;
        dev_kfree_skb(skb);
 
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 /* taken from the depca driver */