diff options
| author | Bjørn Mork <[email protected]> | 2018-05-02 20:22:54 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-05-03 15:25:03 +0000 |
| commit | 5697db4a696c41601a1d15c1922150b4dbf5726c (patch) | |
| tree | f58aa094cab9ff7f5bdffd72d4a3ff09ce6a73ce /net/tipc/node.c | |
| parent | ipv4: fix fnhe usage by non-cached routes (diff) | |
| download | kernel-5697db4a696c41601a1d15c1922150b4dbf5726c.tar.gz kernel-5697db4a696c41601a1d15c1922150b4dbf5726c.zip | |
qmi_wwan: do not steal interfaces from class drivers
The USB_DEVICE_INTERFACE_NUMBER matching macro assumes that
the { vendorid, productid, interfacenumber } set uniquely
identifies one specific function. This has proven to fail
for some configurable devices. One example is the Quectel
EM06/EP06 where the same interface number can be either
QMI or MBIM, without the device ID changing either.
Fix by requiring the vendor-specific class for interface number
based matching. Functions of other classes can and should use
class based matching instead.
Fixes: 03304bcb5ec4 ("net: qmi_wwan: use fixed interface number matching")
Signed-off-by: Bjørn Mork <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
