net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card
authorDaniele Palmas <dnlplm@gmail.com>
Thu, 31 Mar 2016 13:16:47 +0000 (15:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Mar 2016 21:15:35 +0000 (17:15 -0400)
Telit LE910 V2 is a mobile broadband card with no ARP capabilities:
the patch makes this device to use wwan_noarp_info struct

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Reviewed-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c

index 86ba30ba35e8fcf45f9eba287334da04b54203e2..2fb31edab12554b6f2afb1070ab024ef08d64b00 100644 (file)
@@ -1626,6 +1626,13 @@ static const struct usb_device_id cdc_devs[] = {
          .driver_info = (unsigned long) &wwan_info,
        },
 
+       /* Telit LE910 V2 */
+       { USB_DEVICE_AND_INTERFACE_INFO(0x1bc7, 0x0036,
+               USB_CLASS_COMM,
+               USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE),
+         .driver_info = (unsigned long)&wwan_noarp_info,
+       },
+
        /* DW5812 LTE Verizon Mobile Broadband Card
         * Unlike DW5550 this device requires FLAG_NOARP
         */