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

[PATCH] USB: gadget/ether fixes

Signed-off-by: default avatarIan Campbell <icampbell@arcom.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent b9df978f
...@@ -2428,7 +2428,7 @@ eth_bind (struct usb_gadget *gadget) ...@@ -2428,7 +2428,7 @@ eth_bind (struct usb_gadget *gadget)
dev->req->complete = eth_setup_complete; dev->req->complete = eth_setup_complete;
/* ... and maybe likewise for status transfer */ /* ... and maybe likewise for status transfer */
#ifdef DEV_CONFIG_CDC #if defined(DEV_CONFIG_CDC) || defined(CONFIG_USB_ETH_RNDIS)
if (dev->status_ep) { if (dev->status_ep) {
dev->stat_req = eth_req_alloc (dev->status_ep, dev->stat_req = eth_req_alloc (dev->status_ep,
STATUS_BYTECOUNT, GFP_KERNEL); STATUS_BYTECOUNT, GFP_KERNEL);
......
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