]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Restore handling of the third argument (id) of hid_start_parse(), same as
authormav <mav@FreeBSD.org>
Thu, 20 Sep 2012 18:56:27 +0000 (18:56 +0000)
committermav <mav@FreeBSD.org>
Thu, 20 Sep 2012 18:56:27 +0000 (18:56 +0000)
commit3a2b0e2811fa295dd198978ef2dcb53b37c2570d
treec4bb13c59030ccd9fce54c69846a554e23212d84
parent4e994ee0cd8c584f856f8ce211add093547f82b3
Restore handling of the third argument (id) of hid_start_parse(), same as
it is done in NetBSD/OpenBSD, and as it was here before r205728.

I personally think this API or its implementation is incorrect, as it is not
correct to filter collections based on report ID, as they are orthogonal
in general case, but I see no harm from supporting this feature.

PR: usb/171810
Submitted by: Vitaly Magerya <vmagerya@gmail.com>
MFC after: 1 month
lib/libusbhid/descr.c
lib/libusbhid/parse.c
lib/libusbhid/usbhid.3