Skip to content

Commit 24bf27b

Browse files
htotgregkh
authored andcommitted
Revert "usb: gadget: u_ether: Re-attach netif device to mirror detachment"
This reverts commit 76c9457. Prerequisite revert for the reverting of the original commit f49449f. Fixes: 76c9457 ("usb: gadget: u_ether: Re-attach netif device to mirror detachment") Fixes: f49449f ("usb: gadget: u_ether: Replace netif_stop_queue with netif_device_detach") Reported-by: Ferry Toth <[email protected]> Cc: [email protected] Signed-off-by: Ferry Toth <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent dba7567 commit 24bf27b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/usb/gadget/function/u_ether.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1163,8 +1163,6 @@ struct net_device *gether_connect(struct gether *link)
11631163
if (netif_running(dev->net))
11641164
eth_start(dev, GFP_ATOMIC);
11651165

1166-
netif_device_attach(dev->net);
1167-
11681166
/* on error, disable any endpoints */
11691167
} else {
11701168
(void) usb_ep_disable(link->out_ep);

0 commit comments

Comments
 (0)