]> git.baikalelectronics.ru Git - kernel.git/commit
net: qmi_wwan: ignore bogus CDC Union descriptors
authorBjørn Mork <bjorn@mork.no>
Thu, 17 Dec 2015 11:44:04 +0000 (12:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Dec 2015 21:11:24 +0000 (16:11 -0500)
commitda1c6148d419a9d894e785d8b35ae3b8f50a83f8
tree6e6aa3d965dc225479d65e852bb120e21aa5fbd3
parent9d083e45d90a87afd3a0e739731efb4104ec8105
net: qmi_wwan: ignore bogus CDC Union descriptors

The CDC descriptors found on these vendor specific functions should
not be considered authoritative.  They seem to be ignored by drivers
for other systems, and the quality is therefore low.

One device (1e0e:9001) has been reported to have such a bogus union
descriptor on the QMI function, making it fail probing even if the
device id was dynamically added.  The report was not complete enough
to allow adding a device entry for this modem. But this should at
least fix the dynamic id probing problem.

Reported-by: Kanerva Topi <Topi.Kanerva@cinia.fi>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/qmi_wwan.c