diff options
author | kaiw <kaiw@FreeBSD.org> | 2010-05-09 09:20:25 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2010-05-09 09:20:25 +0000 |
commit | 5d57926a1733c2321188224e493a5368a9be145e (patch) | |
tree | cdddd3008846144787a6535d5b26c73ed8cd8f75 /usr.sbin/kgmon | |
parent | 56ff1c814763f0184a9674f1945e32bd93989ceb (diff) | |
download | FreeBSD-src-5d57926a1733c2321188224e493a5368a9be145e.zip FreeBSD-src-5d57926a1733c2321188224e493a5368a9be145e.tar.gz |
Catch up with libusbhid merge (rev 205728).
hid_get_data() now expects that the hid data passed in always contains
the report ID byte. Thus we should not skip the the report ID byte in
hid_interrupt(). Also, if HUP_KEYBOARD usage is an array, do not try
to modify the 'data' pointer, instead, increase the hid_item_t field
'pos' by 'report_size' before calling hid_get_data() during each
iteration.
PR: usb/146367
Reported and tested by: Alex Deiter
Pointy hat to: kaiw
Reviewed by: emax
Diffstat (limited to 'usr.sbin/kgmon')
0 files changed, 0 insertions, 0 deletions