From: Giridhar Pemmasani Date: Tue, 30 May 2006 14:12:30 +0000 (-0400) Subject: [PATCH] usbcore: Fix broken RNDIS config selection X-Git-Tag: v2.6.18-rc1~858^2~55 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3f8f4a18f4f76a67fe5b80da1d3a3940e41a14a8;p=karo-tx-linux.git [PATCH] usbcore: Fix broken RNDIS config selection RNDIS devices don't get configured owing to a typo in choose_configuration(). This patch from Giridhar Pemmasani fixes the typo. From: Giridhar Pemmasani Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 89ebe6a23a90..f41c08946a52 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c @@ -1241,7 +1241,7 @@ static int choose_configuration(struct usb_device *udev) && desc->bInterfaceClass == USB_CLASS_COMM && desc->bInterfaceSubClass == 2 && desc->bInterfaceProtocol == 0xff) { -#ifndef CONFIG_USB_NET_RNDIS +#ifndef CONFIG_USB_NET_RNDIS_HOST continue; #else best = c;