[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20180910.104926.1449006178330208456.davem@davemloft.net>
Date: Mon, 10 Sep 2018 10:49:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kristian.evensen@...il.com
Cc: netdev@...r.kernel.org, bjorn@...k.no
Subject: Re: [PATCH net] qmi_wwan: Support dynamic config on Quectel EP06
From: Kristian Evensen <kristian.evensen@...il.com>
Date: Sat, 8 Sep 2018 13:50:48 +0200
> Quectel EP06 (and EM06/EG06) supports dynamic configuration of USB
> interfaces, without the device changing VID/PID or configuration number.
> When the configuration is updated and interfaces are added/removed, the
> interface numbers change. This means that the current code for matching
> EP06 does not work.
>
> This patch removes the current EP06 interface number match, and replaces
> it with a match on class, subclass and protocol. Unfortunately, matching
> on those three alone is not enough, as the diag interface exports the
> same values as QMI. The other serial interfaces + adb export different
> values and do not match.
>
> The diag interface only has two endpoints, while the QMI interface has
> three. I have therefore added a check for number of interfaces, and we
> ignore the interface if the number of endpoints equals two.
>
> Signed-off-by: Kristian Evensen <kristian.evensen@...il.com>
Applied, thanks.
Powered by blists - more mailing lists