HID: Set Report ID properly for Output reports on the Control endpoint.
authorAlan Ott <alan@signal11.us>
Tue, 17 Aug 2010 04:44:04 +0000 (00:44 -0400)
committerJiri Kosina <jkosina@suse.cz>
Tue, 24 Aug 2010 15:49:04 +0000 (17:49 +0200)
commitc29771c2d8ceb907ed45eb8c7fc0450308140aca
tree787e50ad0d7bfe9363877021fb19538fa8cdefaa
parent426409b1edcd7db922dd326911eba23d5a06d098
HID: Set Report ID properly for Output reports on the Control endpoint.

When I made commit 29129a98e6fc89 ("HID: Send Report ID when numbered
reports are sent over the control endpoint"), I didn't account for *buf
not being the report ID anymore, as buf is incremented.

Signed-off-by: Alan Ott <alan@signal11.us>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hid-core.c