diff options
author | Giridhar Pemmasani <giri@lmc.cs.sunysb.edu> | 2006-05-30 14:12:30 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-06-21 22:04:14 (GMT) |
commit | 3f8f4a18f4f76a67fe5b80da1d3a3940e41a14a8 (patch) | |
tree | 14f7408ac859d47187f03256c145238320c3b525 /drivers/usb | |
parent | 1fbe75e12f0dd567c86533e13ba2605f3ecad2e1 (diff) | |
download | linux-fsl-qoriq-3f8f4a18f4f76a67fe5b80da1d3a3940e41a14a8.tar.xz |
[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 <giri@lmc.cs.sunysb.edu>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/core/hub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 89ebe6a..f41c089 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; |