diff options
| -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 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) | |||
| 1241 | && desc->bInterfaceClass == USB_CLASS_COMM | 1241 | && desc->bInterfaceClass == USB_CLASS_COMM |
| 1242 | && desc->bInterfaceSubClass == 2 | 1242 | && desc->bInterfaceSubClass == 2 |
| 1243 | && desc->bInterfaceProtocol == 0xff) { | 1243 | && desc->bInterfaceProtocol == 0xff) { |
| 1244 | #ifndef CONFIG_USB_NET_RNDIS | 1244 | #ifndef CONFIG_USB_NET_RNDIS_HOST |
| 1245 | continue; | 1245 | continue; |
| 1246 | #else | 1246 | #else |
| 1247 | best = c; | 1247 | best = c; |
