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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 13 Dec 2011 17:46:01 +0000 (09:46 -0800)
commit02a551c9755b799579e0a093bcc99b80b4dc1453
tree62e17c90cdfc648d7107f7a5d0830bc8ee8d28dc
parent6abff5dc4d5a2c90e597137ce8987e7fd439259b
USB: option: Removing one bogus and adding some new Huawei combinations

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