netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] net/usb: mark LG VL600 LTE modem ethernet interface as WWAN
@ 2011-05-09 17:43 Dan Williams
  2011-05-10 20:14 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Williams @ 2011-05-09 17:43 UTC (permalink / raw)
  To: netdev; +Cc: Andrzej Zaborowski, Oliver Neukum

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

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,
 },
 
 /*



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-05-10 20:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-09 17:43 [PATCH] net/usb: mark LG VL600 LTE modem ethernet interface as WWAN Dan Williams
2011-05-10 20:14 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).