net: usb: cdc_ether: Use wwan interface for Telit modules
authorFabio Porcedda <fabio.porcedda@gmail.com>
Mon, 16 Sep 2013 09:47:50 +0000 (11:47 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Sep 2013 01:38:00 +0000 (21:38 -0400)
Signed-off-by: Fabio Porcedda <fabio.porcedda@gmail.com>
Cc: <stable@vger.kernel.org> # 3.0+ as far back as it applies cleanly
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ether.c

index 03ad4dc293aa2a468f8a93f0a0d045623507a9a0..98aef3bac7d8cc979df8c9e9e112347e5af787c2 100644 (file)
@@ -725,6 +725,11 @@ static const struct usb_device_id  products [] = {
        .bInterfaceSubClass     = USB_CDC_SUBCLASS_ETHERNET,
        .bInterfaceProtocol     = USB_CDC_PROTO_NONE,
        .driver_info = (unsigned long)&wwan_info,
+}, {
+       /* Telit modules */
+       USB_VENDOR_AND_INTERFACE_INFO(0x1bc7, USB_CLASS_COMM,
+                       USB_CDC_SUBCLASS_ETHERNET, USB_CDC_PROTO_NONE),
+       .driver_info = (kernel_ulong_t) &wwan_info,
 }, {
        USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET,
                        USB_CDC_PROTO_NONE),