Skip to content

Commit

Permalink
[PATCH] usbcore: Fix broken RNDIS config selection
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Giridhar Pemmasani authored and Greg Kroah-Hartman committed Jun 21, 2006
1 parent 1fbe75e commit 3f8f4a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/core/hub.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3f8f4a1

Please sign in to comment.