Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05f33400 authored by Ian Campbell's avatar Ian Campbell Committed by Greg Kroah-Hartman
Browse files

[PATCH] USB: gadget/ether fixes

parent b9df978f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2428,7 +2428,7 @@ eth_bind (struct usb_gadget *gadget)
	dev->req->complete = eth_setup_complete;

	/* ... and maybe likewise for status transfer */
#ifdef DEV_CONFIG_CDC
#if defined(DEV_CONFIG_CDC) || defined(CONFIG_USB_ETH_RNDIS)
	if (dev->status_ep) {
		dev->stat_req = eth_req_alloc (dev->status_ep,
					STATUS_BYTECOUNT, GFP_KERNEL);