On Fri, 20 Feb 2015, David Miller wrote: > From: Aleksander Morgado <aleksan...@aleksander.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 <aleksan...@aleksander.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 linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html