[PATCH] USB: gadget/ether fixes
Signed-off-by: Ian Campbell <icampbell@arcom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
b9df978f19
commit
05f3340030
1 changed files with 1 additions and 1 deletions
|
@ -2428,7 +2428,7 @@ autoconf_fail:
|
||||||
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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue