Files
OpenCellular/chip
Dominic Chen 3e993df474 usb: fix bug with multiple usb interfaces
for interface specific requests, the interface number is equivalent to
(wIndex & 0xff). this corresponds to ep0_buf_rx[2], since the setup
packet has format: bmRequestType (1), bRequest (1), wValue (2),
wIndex (2), wLength (2).

BUG=none
BRANCH=none
TEST=verify stm32 does not panic with multiple interfaces

Change-Id: Ied7750035f87fa81f9a6c03c6e73ae606c110398
Signed-off-by: Dominic Chen <ddchen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/209903
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
2014-07-28 19:19:53 +00:00
..