net: qmi_wwan: fixup Sierra Wireless MC8305 entry
authorBjørn Mork <bjorn@mork.no>
Fri, 28 Jun 2013 15:17:49 +0000 (17:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 May 2014 04:52:17 +0000 (21:52 -0700)
commitb1cf31e9d3de759e7ee0e9cc3e2b8e350fcbaa3c
tree7640a2eaac6dcda35a84f5567ac3368b5fb0cea8
parentfd6b1194f0096af91c6e2b31065f5f9d2b066d80
net: qmi_wwan: fixup Sierra Wireless MC8305 entry

[ Upstream commit 5a008ffa73b4401251d548c10cadac6f8a67cfb5 ]

The MC8305 module got an additional entry added based solely on
information from a Windows driver *.inf file. We now have the
actual descriptor layout from one of these modules, and it
consists of two alternate configurations where cfg #1 is a
normal Gobi 2k layout and cfg #2 is MBIM only, using interface
numbers 5 and 6 for MBIM control and data. The extra Windows
driver entry for interface number 5 was most likely a bug.

Deleting the bogus entry to avoid unnecessary qmi_wwan probe
failures when using the MBIM configuration.

Reported-by: Lana Black <sickmind@lavabit.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/usb/qmi_wwan.c