net: usb: cdc_ncm: Adding Dell DW5812 LTE Verizon Mobile Broadband Card
authorDaniele Palmas <dnlplm@gmail.com>
Fri, 18 Dec 2015 13:43:33 +0000 (14:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 21 Dec 2015 19:51:14 +0000 (14:51 -0500)
Unlike DW5550, Dell DW5812 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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c

index 1e9843a411685ea887e1dd6d732cd8d5d7bb4a82..3a71e60254eb66038be5adf970ae5f903536800a 100644 (file)
@@ -1558,6 +1558,15 @@ static const struct usb_device_id cdc_devs[] = {
          .driver_info = (unsigned long) &wwan_info,
        },
 
+       /* DW5812 LTE Verizon Mobile Broadband Card
+        * Unlike DW5550 this device requires FLAG_NOARP
+        */
+       { USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x81bb,
+               USB_CLASS_COMM,
+               USB_CDC_SUBCLASS_NCM, USB_CDC_PROTO_NONE),
+         .driver_info = (unsigned long)&wwan_noarp_info,
+       },
+
        /* Dell branded MBM devices like DW5550 */
        { .match_flags = USB_DEVICE_ID_MATCH_INT_INFO
                | USB_DEVICE_ID_MATCH_VENDOR,