]> git.baikalelectronics.ru Git - kernel.git/commit
USB: sierra: avoid CDC class functions on "68A3" devices
authorBjørn Mork <bjorn@mork.no>
Thu, 28 Aug 2014 12:11:23 +0000 (14:11 +0200)
committerJohan Hovold <johan@kernel.org>
Mon, 1 Sep 2014 09:55:29 +0000 (11:55 +0200)
commit8369e4a0a3d022235a297e6d8821f540ff4081df
tree94c7905b293e279d20b3e302ee94ce341806ac8d
parent1a779c46c685d8843ea68c16a7b8743967f2f02a
USB: sierra: avoid CDC class functions on "68A3" devices

Sierra Wireless Direct IP devices using the 68A3 product ID
can be configured for modes including a CDC ECM class function.
The known example uses interface numbers 12 and 13 for the ECM
control and data interfaces respectively, consistent with CDC
MBIM function interface numbering on other Sierra devices.

It seems cleaner to restrict this driver to the ff/ff/ff
vendor specific interfaces rather than increasing the already
long interface number blacklist.  This should be more future
proof if Sierra adds more class functions using interface
numbers not yet in the blacklist.

Cc: <stable@vger.kernel.org>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/sierra.c