]> git.itanic.dy.fi Git - linux-stable/commitdiff
net: qmi_wwan: Add Vodafone/Huawei K5005 support
authorBjørn Mork <bjorn@mork.no>
Sat, 19 May 2012 07:20:31 +0000 (07:20 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 2 Oct 2012 17:30:37 +0000 (10:30 -0700)
commit 88c16dc3bb61a1c1e9d4c78f45cc2107bc8d5249 upstream.

Tested-by: Thomas Schäfer <tschaefer@t-online.de>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/qmi_wwan.c

index c2ae4266617d8f6171f17dbbbf0b5d64a026bd01..4be2d7f917403b673bae430737c5263dd3d3b035 100644 (file)
@@ -407,6 +407,14 @@ static const struct usb_device_id products[] = {
                .bInterfaceProtocol = 8, /* NOTE: This is the *slave* interface of the CDC Union! */
                .driver_info        = (unsigned long)&qmi_wwan_info,
        },
+       {       /* Vodafone/Huawei K5005 (12d1:14c8) and similar modems */
+               .match_flags        = USB_DEVICE_ID_MATCH_VENDOR | USB_DEVICE_ID_MATCH_INT_INFO,
+               .idVendor           = HUAWEI_VENDOR_ID,
+               .bInterfaceClass    = USB_CLASS_VENDOR_SPEC,
+               .bInterfaceSubClass = 1,
+               .bInterfaceProtocol = 56, /* NOTE: This is the *slave* interface of the CDC Union! */
+               .driver_info        = (unsigned long)&qmi_wwan_info,
+       },
        {       /* Huawei E392, E398 and possibly others in "Windows mode"
                 * using a combined control and data interface without any CDC
                 * functional descriptors