net: cdc_mbim: apply "NDP to end" quirk to HP lt4132
authorTore Anderson <tore@fud.no>
Sat, 1 Jul 2017 13:20:02 +0000 (15:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jul 2017 09:19:36 +0000 (02:19 -0700)
The HP lt4132 LTE/HSPA+ 4G Module (03f0:a31d) is a rebranded Huawei
ME906s-158 device. It, like the ME906s-158, requires the "NDP to end"
quirk for correct operation.

Signed-off-by: Tore Anderson <tore@fud.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_mbim.c

index 18fa45fc979b63810d993c9ca47a65b2009c5fb4..7220cd62071726b171ab2ae792f672d7b513343b 100644 (file)
@@ -643,6 +643,13 @@ static const struct usb_device_id mbim_devs[] = {
          .driver_info = (unsigned long)&cdc_mbim_info_ndp_to_end,
        },
 
+       /* The HP lt4132 (03f0:a31d) is a rebranded Huawei ME906s-158,
+        * therefore it too requires the above "NDP to end" quirk.
+        */
+       { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0xa31d, USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE),
+         .driver_info = (unsigned long)&cdc_mbim_info_ndp_to_end,
+       },
+
        /* Telit LE922A6 in MBIM composition */
        { USB_DEVICE_AND_INTERFACE_INFO(0x1bc7, 0x1041, USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE),
          .driver_info = (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle,