Revert "usb: gadget: u_ether: Replace netif_stop_queue with netif_device_detach"

This reverts commit f49449fbc2.
This commit is contained in:
Nia Espera 2023-12-02 23:41:57 +01:00
parent 1c9bc9bcf6
commit dc758a448b
No known key found for this signature in database
GPG key ID: F224CEC23756E2AD

View file

@ -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