net: cdc_ether: allow combined control and data interface
authorBjørn Mork <bjorn@mork.no>
Sat, 29 Jun 2013 10:03:06 +0000 (12:03 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jul 2013 08:47:41 +0000 (01:47 -0700)
Some Icera based Huawei modems handled by this driver are not
completely CDC ECM compliant, using the same USB interface for both
control and data. The CDC functional descriptors include a Union
naming this interface as both master and slave, so it is supportable
by relaxing the descriptor parsing in case these interfaces are
identical.

This has been tested on a Huawei K3806 and verified to add support
for that device.

Reported-and-tested-by: Enrico Mioso <mrkiko.rs@gmail.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Acked-by: Oliver Neukum <oliver@neukum.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found