lkml.org 
[lkml]   [2012]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[ 46/69] USB: cdc-wdm: Add Vodafone/Huawei K5005 support
    3.2-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Bjørn Mork <bjorn@mork.no>

    commit de102ef41f24a4c251c4a3838796bb27557d4d93 upstream.

    Tested-by: Thomas Schäfer <tschaefer@t-online.de>
    Signed-off-by: Bjørn Mork <bjorn@mork.no>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
    ---
    drivers/usb/class/cdc-wdm.c | 9 +++++++++
    1 file changed, 9 insertions(+)

    diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c
    index ea8b304..8fd398d 100644
    --- a/drivers/usb/class/cdc-wdm.c
    +++ b/drivers/usb/class/cdc-wdm.c
    @@ -55,6 +55,15 @@ static const struct usb_device_id wdm_ids[] = {
    .bInterfaceSubClass = 1,
    .bInterfaceProtocol = 9, /* NOTE: CDC ECM control interface! */
    },
    + {
    + /* 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 = 57, /* NOTE: CDC ECM control interface! */
    + },
    { }
    };


    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2012-06-17 21:01    [W:0.027 / U:0.260 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site