net: use symbolic values for ndo_start_xmit() return codes
[deliverable/linux.git] / drivers / net / hamachi.c
index 26151fa35df5891b43fe46a86b0149efcbc9e6c1..9d5b62cb30f790de7f198b4d67e7e619b82d7878 100644 (file)
@@ -1280,7 +1280,7 @@ static int hamachi_start_xmit(struct sk_buff *skb, struct net_device *dev)
                status=readw(hmp->base + TxStatus);
                if( !(status & 0x0001) || (status & 0x0002))
                        writew(0x0001, hmp->base + TxCmd);
-               return 1;
+               return NETDEV_TX_BUSY;
        }
 
        /* Caution: the write order is important here, set the field
This page took 0.025133 seconds and 5 git commands to generate.