From: Daniele Palmas Date: Thu, 31 Mar 2016 13:16:47 +0000 (+0200) Subject: net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=79f4223257bfef52b0a26d0d7ad4019e764be6ce;p=openwrt%2Fstaging%2Fblogic.git net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card 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 Reviewed-by: Bjørn Mork Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c index 86ba30ba35e8..2fb31edab125 100644 --- a/drivers/net/usb/cdc_ncm.c +++ b/drivers/net/usb/cdc_ncm.c @@ -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 */