]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: option: Removing one bogus and adding some new Huawei combinations
authorBjørn Mork <bjorn@mork.no>
Tue, 13 Dec 2011 04:33:02 +0000 (05:33 +0100)
committerMaxim Uvarov <maxim.uvarov@oracle.com>
Tue, 10 Jan 2012 21:00:16 +0000 (13:00 -0800)
commit36127cef8a43450fbaa88f186502f68306ef4fbd
treefd786224f06a8496ec211fea0ec73fefc72a95bf
parent11a884e7c56d612f66ac0a2c5863dec733b67100
USB: option: Removing one bogus and adding some new Huawei combinations

commit 02a551c9755b799579e0a093bcc99b80b4dc1453 upstream.

Huawei use the product code HUAWEI_PRODUCT_E353 (0x1506) for a
number of different devices, which each can appear with a number
of different descriptor sets.  Different types of interfaces
can be identified by looking at the subclass and protocol fields

Subclass 1 protocol 8 is actually the data interface of a CDC
ECM set, with subclass 1 protocol 9 as the control interface.
Neither support serial data communcation, and cannot therefore
be supported by this driver.

At the same time, add a few other sets which appear if the
device is configured in "Windows mode" using this modeswitch
message:
55534243000000000000000000000011060000000100000000000000000000

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c