USB: sierra: avoid QMI/wwan interface on MC77xx
authorBjørn Mork <bjorn@mork.no>
Tue, 17 Apr 2012 19:37:29 +0000 (21:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Apr 2012 22:54:57 +0000 (15:54 -0700)
commit749541d19e70905e3971f2a08335a206a98e4d0c
tree25c3e5f3499149997ab124ec049eb1a04456804a
parent8bde9a62ee74afa89f593c563e926d163b1f6ada
USB: sierra: avoid QMI/wwan interface on MC77xx

These devices have a number of non serial interfaces as well.  Use
the existing "Direct IP" blacklist to prevent binding to interfaces
which are handled by other drivers.

We also extend the "Direct IP" blacklist with with interfaces only
seen in "QMI" mode, assuming that these devices use the same
interface numbers for serial interfaces both in "Direct IP" and in
"QMI" mode.

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