commit | af63e488f01b92a9ba124f90ec08bb7d2672aa73 | [log] [tgz] |
---|---|---|
author | Johann Fischer <johann.fischer@nordicsemi.no> | Wed May 29 14:57:52 2024 +0200 |
committer | Henrik Brix Andersen <henrik@brixandersen.dk> | Tue Jun 04 07:56:45 2024 +0200 |
tree | 3c413c0327ce7dbe35f0c05a5b104c75655745c2 | |
parent | a33341ac6676c527d9ba14d23b815157d492c7d5 [diff] |
usb: device_next: hid: fix Get Report buffer handling After the get_report() callback, we need to determine how many bytes the HID device wrote to the report buffer. Use the callback return value to do this, and modify the net_buf data length value if get_report was successful. Reported-by: Marek Pieta <Marek.Pieta@nordicsemi.no> Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>