Date: Sun, 9 May 2010 09:20:25 +0000 (UTC) From: Kai Wang <kaiw@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/bluetooth/bthidd hid.c Message-ID: <201005090920.o499Kitl067719@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kaiw 2010-05-09 09:20:25 UTC
FreeBSD src repository
Modified files:
usr.sbin/bluetooth/bthidd hid.c
Log:
SVN rev 207812 on 2010-05-09 09:20:25Z by kaiw
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
Revision Changes Path
1.7 +5 -11 src/usr.sbin/bluetooth/bthidd/hid.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005090920.o499Kitl067719>
