Re: [PATCH net-next] qmi_wwan: Add quirk for Quectel dynamic config

2019-04-08 Thread David Miller
From: Kristian Evensen Date: Sun, 7 Apr 2019 15:39:09 +0200 > Most, if not all, Quectel devices use dynamic interface numbers, and > users are able to change the USB configuration at will. Matching on for > example interface number is therefore not possible. > > Instead, the QMI device can be i

Re: [PATCH net-next] qmi_wwan: Add quirk for Quectel dynamic config

2019-04-07 Thread Kristian Evensen
Hi, On Sun, Apr 7, 2019 at 5:27 PM Bjørn Mork wrote: > I guess this has to go to (at least some of) the stable trees > eventually, but assume you directed it to net-next for more thorough > testing first? Yes, that was my thought exactly. Since this is more an improvement than a fix, I sent it t

Re: [PATCH net-next] qmi_wwan: Add quirk for Quectel dynamic config

2019-04-07 Thread Bjørn Mork
Kristian Evensen writes: > Most, if not all, Quectel devices use dynamic interface numbers, and > users are able to change the USB configuration at will. Matching on for > example interface number is therefore not possible. > > Instead, the QMI device can be identified by looking at the interface

[PATCH net-next] qmi_wwan: Add quirk for Quectel dynamic config

2019-04-07 Thread Kristian Evensen
Most, if not all, Quectel devices use dynamic interface numbers, and users are able to change the USB configuration at will. Matching on for example interface number is therefore not possible. Instead, the QMI device can be identified by looking at the interface class, subclass and protocol (all 0