diff mbox

[1/1] net: usb: cdc_ncm: adding Telit LE910 V2 mobile broadband card

Message ID 1459430207-11757-2-git-send-email-dnlplm@gmail.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Daniele Palmas March 31, 2016, 1:16 p.m. UTC
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>
---
 drivers/net/usb/cdc_ncm.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

David Miller March 31, 2016, 8:51 p.m. UTC | #1
From: Daniele Palmas <dnlplm@gmail.com>
Date: Thu, 31 Mar 2016 15:16:47 +0200

> 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>

Bjorn, can you take a quick look at this?

Thank you.
Bjørn Mork March 31, 2016, 9:07 p.m. UTC | #2
David Miller <davem@davemloft.net> writes:
> From: Daniele Palmas <dnlplm@gmail.com>
> Date: Thu, 31 Mar 2016 15:16:47 +0200
>
>> 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>
>
> Bjorn, can you take a quick look at this?

Looks fine to me.

Reviewed-by: Bjørn Mork <bjorn@mork.no>


Bjørn
David Miller March 31, 2016, 9:20 p.m. UTC | #3
From: Bjørn Mork <bjorn@mork.no>
Date: Thu, 31 Mar 2016 23:07:30 +0200

> David Miller <davem@davemloft.net> writes:
>> From: Daniele Palmas <dnlplm@gmail.com>
>> Date: Thu, 31 Mar 2016 15:16:47 +0200
>>
>>> 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>
>>
>> Bjorn, can you take a quick look at this?
> 
> Looks fine to me.
> 
> Reviewed-by: Bjørn Mork <bjorn@mork.no>

Thanks, applied.
diff mbox

Patch

diff --git a/drivers/net/usb/cdc_ncm.c b/drivers/net/usb/cdc_ncm.c
index 86ba30b..2fb31ed 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
 	 */