diff mbox

Additional whitelist PID to the wwan whitelist in cdc_ether

Message ID 201001161929.55504.ajb@spheresystems.co.uk
State Not Applicable, archived
Delegated to: David Miller
Headers show

Commit Message

Andrew Bird (Sphere Systems) Jan. 16, 2010, 7:29 p.m. UTC
Hi Dave,
	I wonder if you might accept this patch to add an additional device to the 
wwan whitelist in the cdc_ether driver?

	In addition I wonder if the default interface flags are correct for wwan 
devices? I would have expected to have 'IFF_NOARP' and 'IFF_POINTTOPOINT' 
flags set, as this is essentially a ptp link that's not arp capable and 
broadcast makes no sense. In any case for me I always have to turn off arp 
with ifconfig to get any traffic through the device.


Best regards,


Andrew
diff mbox

Patch

From 136ed09380319253b16c93fefd1e8b355430bf22 Mon Sep 17 00:00:00 2001
From: Andrew Bird <ajb@spheresytems.co.uk>
Date: Sat, 16 Jan 2010 19:14:10 +0000
Subject: [PATCH] Add Vodafone K3805-Z wwan device to cdc_ether whitelist

---
 drivers/net/usb/cdc_ether.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index 21e183a..36a6c25 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -613,6 +613,11 @@  static const struct usb_device_id	products [] = {
 	USB_DEVICE_AND_INTERFACE_INFO(0x413c, 0x8184, USB_CLASS_COMM,
 			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
 	.driver_info = (unsigned long) &mbm_info,
+}, {
+	/* Vodafone K3805-Z (ZTE-Icera) */
+	USB_DEVICE_AND_INTERFACE_INFO(0x19d2, 0x1003, USB_CLASS_COMM,
+			USB_CDC_SUBCLASS_MDLM, USB_CDC_PROTO_NONE),
+	.driver_info = (unsigned long) &mbm_info,
 },
 	{ },		// END
 };
-- 
1.6.2.5