aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/u_ether.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/u_ether.c')
-rw-r--r--drivers/usb/gadget/u_ether.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c
index 4007770f7ed2..016f63b39028 100644
--- a/drivers/usb/gadget/u_ether.c
+++ b/drivers/usb/gadget/u_ether.c
@@ -520,7 +520,7 @@ static int eth_start_xmit(struct sk_buff *skb, struct net_device *net)
520 */ 520 */
521 if (list_empty(&dev->tx_reqs)) { 521 if (list_empty(&dev->tx_reqs)) {
522 spin_unlock_irqrestore(&dev->req_lock, flags); 522 spin_unlock_irqrestore(&dev->req_lock, flags);
523 return 1; 523 return NETDEV_TX_BUSY;
524 } 524 }
525 525
526 req = container_of(dev->tx_reqs.next, struct usb_request, list); 526 req = container_of(dev->tx_reqs.next, struct usb_request, list);