net: use symbolic values for ndo_start_xmit() return codes
[deliverable/linux.git] / drivers / net / macb.c
index 722265920da8c6341916a777a68b2cdaec33c222..5b5c25368d1e559e9f2dbbb71013f13efa293ce7 100644 (file)
@@ -645,7 +645,7 @@ static int macb_start_xmit(struct sk_buff *skb, struct net_device *dev)
                        "BUG! Tx Ring full when queue awake!\n");
                dev_dbg(&bp->pdev->dev, "tx_head = %u, tx_tail = %u\n",
                        bp->tx_head, bp->tx_tail);
-               return 1;
+               return NETDEV_TX_BUSY;
        }
 
        entry = bp->tx_head;
This page took 0.037269 seconds and 5 git commands to generate.