hid: fix typo in hid_is_collection
hid_input is equal to 0. It is leftover from NetBSD code. Reviewed by: hselasky, wulf MFC after: 1 month Differential revision: https://reviews.freebsd.org/D28149
This commit is contained in:
parent
176939bd36
commit
6ed3b9ca25
@ -799,7 +799,7 @@ hid_is_collection(const void *desc, hid_size_t size, int32_t usage)
|
||||
struct hid_item hi;
|
||||
int err;
|
||||
|
||||
hd = hid_start_parse(desc, size, hid_input);
|
||||
hd = hid_start_parse(desc, size, 0);
|
||||
if (hd == NULL)
|
||||
return (0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user