summaryrefslogtreecommitdiffstats
path: root/lib/ts_fsm.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2019-04-20 13:22:12 +0200
committerBenjamin Tissoires <benjamin.tissoires@redhat.com>2019-04-23 18:02:52 +0200
commitd71b18f7c7999381a9b721d761b0aceffdcd65da (patch)
treee370ed078af2640017bd05a0d66499b54520d4cb /lib/ts_fsm.c
parentHID: logitech-hidpp: handle devices attached to 27MHz wireless receivers (diff)
downloadlinux-d71b18f7c7999381a9b721d761b0aceffdcd65da.tar.xz
linux-d71b18f7c7999381a9b721d761b0aceffdcd65da.zip
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 'lib/ts_fsm.c')
0 files changed, 0 insertions, 0 deletions