提交 05f33400 编写于 作者: I Ian Campbell 提交者: Greg Kroah-Hartman

[PATCH] USB: gadget/ether fixes

Signed-off-by: NIan Campbell <icampbell@arcom.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 b9df978f
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册