summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kgmon
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2010-05-09 09:20:25 +0000
committerkaiw <kaiw@FreeBSD.org>2010-05-09 09:20:25 +0000
commit5d57926a1733c2321188224e493a5368a9be145e (patch)
treecdddd3008846144787a6535d5b26c73ed8cd8f75 /usr.sbin/kgmon
parent56ff1c814763f0184a9674f1945e32bd93989ceb (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud