Commit 24bf27b9 authored by Ferry Toth's avatar Ferry Toth Committed by Greg Kroah-Hartman

Revert "usb: gadget: u_ether: Re-attach netif device to mirror detachment"

This reverts commit 76c94573.

Prerequisite revert for the reverting of the original commit f49449fb.

Fixes: 76c94573 ("usb: gadget: u_ether: Re-attach netif device to mirror detachment")
Fixes: f49449fb ("usb: gadget: u_ether: Replace netif_stop_queue with netif_device_detach")
Reported-by: default avatarFerry Toth <fntoth@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarFerry Toth <fntoth@gmail.com>
Link: https://lore.kernel.org/r/20240620204832.24518-2-ftoth@exalondelft.nlSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dba7567c
......@@ -1163,8 +1163,6 @@ struct net_device *gether_connect(struct gether *link)
if (netif_running(dev->net))
eth_start(dev, GFP_ATOMIC);
netif_device_attach(dev->net);
/* on error, disable any endpoints */
} else {
(void) usb_ep_disable(link->out_ep);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment