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)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 11 May 2012 12:14:01 +0000 (13:14 +0100)
commita7e8b05866d9ab6b9f01bd56f3c1abe5af2500bb
tree081530b478479720300399fb5dc05d48b359f5f3
parent6e59e5037a68d230884c279f4e2b8d8ca60c3f29
USB: sierra: avoid QMI/wwan interface on MC77xx

commit 749541d19e70905e3971f2a08335a206a98e4d0c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/sierra.c