[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.44L0.1502201645430.1335-100000@iolanthe.rowland.org>
Date: Fri, 20 Feb 2015 16:49:17 -0500 (EST)
From: Alan Stern <stern@...land.harvard.edu>
To: David Miller <davem@...emloft.net>
cc: aleksander@...ksander.es, <j.dumon@...ion.com>,
<linux-usb@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: Re: [PATCH] hso: always read interface number from the current
altsetting
On Fri, 20 Feb 2015, David Miller wrote:
> From: Aleksander Morgado <aleksander@...ksander.es>
> Date: Tue, 17 Feb 2015 11:31:29 +0100
>
> > Always read bInterfaceNumber from the current altsetting, not from the first one
> > available in the altsetting array. This is coming from code review, not related
> > to any specific bug.
> >
> > Signed-off-by: Aleksander Morgado <aleksander@...ksander.es>
It doesn't matter. The bInterfaceNumber values are guaranteed to be
the same for all altsettings in a particular interface, because of the
way the altsetting arrays are constructed.
Alan Stern
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists