diff options
author | Tore Anderson <tore@fud.no> | 2017-07-01 09:20:02 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-07-03 05:19:36 -0400 |
commit | a68491f895a937778bb25b0795830797239de31f (patch) | |
tree | cbec6eebc277fb7a4e21cd5c68ce46b4ed35e367 | |
parent | 75674c4cbb03a8b6ed7ef1f72b9e9aecc0bfd9dc (diff) |
net: cdc_mbim: apply "NDP to end" quirk to HP lt4132
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>
-rw-r--r-- | drivers/net/usb/cdc_mbim.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/usb/cdc_mbim.c b/drivers/net/usb/cdc_mbim.c index 18fa45fc979b..7220cd620717 100644 --- a/drivers/net/usb/cdc_mbim.c +++ b/drivers/net/usb/cdc_mbim.c | |||
@@ -643,6 +643,13 @@ static const struct usb_device_id mbim_devs[] = { | |||
643 | .driver_info = (unsigned long)&cdc_mbim_info_ndp_to_end, | 643 | .driver_info = (unsigned long)&cdc_mbim_info_ndp_to_end, |
644 | }, | 644 | }, |
645 | 645 | ||
646 | /* The HP lt4132 (03f0:a31d) is a rebranded Huawei ME906s-158, | ||
647 | * therefore it too requires the above "NDP to end" quirk. | ||
648 | */ | ||
649 | { USB_DEVICE_AND_INTERFACE_INFO(0x03f0, 0xa31d, USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE), | ||
650 | .driver_info = (unsigned long)&cdc_mbim_info_ndp_to_end, | ||
651 | }, | ||
652 | |||
646 | /* Telit LE922A6 in MBIM composition */ | 653 | /* Telit LE922A6 in MBIM composition */ |
647 | { USB_DEVICE_AND_INTERFACE_INFO(0x1bc7, 0x1041, USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE), | 654 | { USB_DEVICE_AND_INTERFACE_INFO(0x1bc7, 0x1041, USB_CLASS_COMM, USB_CDC_SUBCLASS_MBIM, USB_CDC_PROTO_NONE), |
648 | .driver_info = (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle, | 655 | .driver_info = (unsigned long)&cdc_mbim_info_avoid_altsetting_toggle, |