diff options
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/serial/option.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c index 78452baca88b..fe22e90bc879 100644 --- a/drivers/usb/serial/option.c +++ b/drivers/usb/serial/option.c | |||
@@ -1235,7 +1235,8 @@ static int option_probe(struct usb_serial *serial, | |||
1235 | (serial->dev->descriptor.idProduct == HUAWEI_PRODUCT_K3765 || | 1235 | (serial->dev->descriptor.idProduct == HUAWEI_PRODUCT_K3765 || |
1236 | serial->dev->descriptor.idProduct == HUAWEI_PRODUCT_K4505 || | 1236 | serial->dev->descriptor.idProduct == HUAWEI_PRODUCT_K4505 || |
1237 | serial->dev->descriptor.idProduct == HUAWEI_PRODUCT_K4605) && | 1237 | serial->dev->descriptor.idProduct == HUAWEI_PRODUCT_K4605) && |
1238 | serial->interface->cur_altsetting->desc.bInterfaceNumber == 1) | 1238 | (serial->interface->cur_altsetting->desc.bInterfaceNumber == 1 || |
1239 | serial->interface->cur_altsetting->desc.bInterfaceNumber == 2)) | ||
1239 | return -ENODEV; | 1240 | return -ENODEV; |
1240 | 1241 | ||
1241 | /* Don't bind network interface on Samsung GT-B3730, it is handled by a separate module */ | 1242 | /* Don't bind network interface on Samsung GT-B3730, it is handled by a separate module */ |