diff mbox

net/usb: mark LG VL600 LTE modem ethernet interface as WWAN

Message ID 1304963011.5005.5.camel@dcbw.foobar.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Dan Williams May 9, 2011, 5:43 p.m. UTC
Like other mobile broadband device ethernet interfaces, mark the LG
VL600 with the 'wwan' devtype so userspace knows it needs additional
configuration via the AT port before the interface can be used.

Signed-off-by: Dan Williams <dcbw@redhat.com>
---



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

David Miller May 10, 2011, 8:14 p.m. UTC | #1
From: Dan Williams <dcbw@redhat.com>
Date: Mon, 09 May 2011 12:43:20 -0500

> Like other mobile broadband device ethernet interfaces, mark the LG
> VL600 with the 'wwan' devtype so userspace knows it needs additional
> configuration via the AT port before the interface can be used.
> 
> Signed-off-by: Dan Williams <dcbw@redhat.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c
index a301479..c924ea2 100644
--- a/drivers/net/usb/cdc_ether.c
+++ b/drivers/net/usb/cdc_ether.c
@@ -567,7 +567,7 @@  static const struct usb_device_id	products [] = {
 {
 	USB_DEVICE_AND_INTERFACE_INFO(0x1004, 0x61aa, USB_CLASS_COMM,
 			USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
-	.driver_info		= 0,
+	.driver_info = (unsigned long)&wwan_info,
 },
 
 /*