]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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>
Fri, 27 Apr 2012 17:16:50 +0000 (10:16 -0700)
commit8b33e7d5c366b9b61db2e59915b9e5bf9df5f916
tree30616680b8b628358b784474b68c4a7dccca6fe2
parentdcf6b42c8065c0053bcc15bcbed35955f59367f0
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>
drivers/usb/serial/sierra.c