]> git.baikalelectronics.ru Git - kernel.git/commit
hso: always read interface number from the current altsetting
authorAleksander Morgado <aleksander@aleksander.es>
Tue, 17 Feb 2015 10:31:29 +0000 (11:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Feb 2015 20:21:31 +0000 (15:21 -0500)
commitb059b35f506109a31b0b7df276eb7fae56076e51
treea5ee06acd18dba3fefc00f7773e24b44f7e9b1a6
parent9f8808b8d8b023dd7afb4484b2bd7765230d96db
hso: always read interface number from the current altsetting

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@aleksander.es>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/hso.c