bnx2x: Using the new FW
[deliverable/linux.git] / drivers / net / eepro.c
index 4f70034853482ef8c51262892002756c22599ae2..53317a83857a70d9cd12284a3b5edb4bf6fcce89 100644 (file)
@@ -1145,7 +1145,7 @@ static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev)
 
        if (length < ETH_ZLEN) {
                if (skb_padto(skb, ETH_ZLEN))
-                       return 0;
+                       return NETDEV_TX_OK;
                length = ETH_ZLEN;
        }
        netif_stop_queue (dev);
@@ -1178,7 +1178,7 @@ static int eepro_send_packet(struct sk_buff *skb, struct net_device *dev)
        eepro_en_int(ioaddr);
        spin_unlock_irqrestore(&lp->lock, flags);
 
-       return 0;
+       return NETDEV_TX_OK;
 }
 
 
This page took 0.046872 seconds and 5 git commands to generate.