]> git.karo-electronics.de Git - karo-tx-linux.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 16:51:07 +0000 (09:51 -0700)
commitebc3dcf800ccb59ab5834e33a96f5691eec39820
tree7c89d173e1303103c48365bcbb093a3e3817fd6c
parent821dda4337d66b6e279e0ab6067b29a61c34e690
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