Revert "usb: gadget: u_ether: Replace netif_stop_queue with netif_device_detach"
This reverts commit f49449fbc2.
This commit is contained in:
parent
1c9bc9bcf6
commit
dc758a448b
1 changed files with 1 additions and 1 deletions
|
|
@ -1200,7 +1200,7 @@ void gether_disconnect(struct gether *link)
|
|||
|
||||
DBG(dev, "%s\n", __func__);
|
||||
|
||||
netif_device_detach(dev->net);
|
||||
netif_stop_queue(dev->net);
|
||||
netif_carrier_off(dev->net);
|
||||
|
||||
/* disable endpoints, forcing (synchronous) completion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue