diff options
author | Hans de Goede <hdegoede@redhat.com> | 2019-04-20 13:22:12 +0200 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2019-04-23 18:02:52 +0200 |
commit | d71b18f7c7999381a9b721d761b0aceffdcd65da (patch) | |
tree | e370ed078af2640017bd05a0d66499b54520d4cb /drivers/interconnect | |
parent | 754a30884886d751ea8b5681a8ccaad59147a914 (diff) | |
download | linux-d71b18f7c7999381a9b721d761b0aceffdcd65da.tar.bz2 |
HID: logitech-hidpp: do not hardcode very long report length
The HID++ spec says the following about the very long report length:
"n Bytes, depends on HID++ collection declaration".
Hardcoding this breaks talking to some HID++ devices over BlueTooth, since
they declare only 45 bytes data for the very long report, rather then the
hardcoded 63.
This commit fixes this by getting the actual report length from the
descriptors.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'drivers/interconnect')
0 files changed, 0 insertions, 0 deletions