From: Ian Campbell Date: Wed, 29 Jun 2005 09:15:32 +0000 (+0100) Subject: [PATCH] USB: gadget/ether fixes X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=05f33400307cfe9d89dbeca659731b9055fefbf8;p=openwrt%2Fstaging%2Fblogic.git [PATCH] USB: gadget/ether fixes Signed-off-by: Ian Campbell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 00a5d2566265..b5647b503360 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c @@ -2428,7 +2428,7 @@ autoconf_fail: 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);