Merge commit 'v2.6.31-rc3'; commit 'tip/oprofile' into oprofile/core
[firefly-linux-kernel-4.4.55.git] / drivers / net / cs89x0.c
index 7433b88eed7e958f0666d02bafac62657add0bc0..3eee666a9cd26773fa4712704cf7066ec7f0cbc5 100644 (file)
@@ -1551,7 +1551,7 @@ static int net_send_packet(struct sk_buff *skb, struct net_device *dev)
 
                spin_unlock_irq(&lp->lock);
                if (net_debug) printk("cs89x0: Tx buffer not free!\n");
-               return 1;
+               return NETDEV_TX_BUSY;
        }
        /* Write the contents of the packet */
        writewords(dev->base_addr, TX_FRAME_PORT,skb->data,(skb->len+1) >>1);