Parent: bac077c96b67c8db8df76a49f68f4493db39fc61
Author: Andrey Smirnov <andrew.smirnov@gmail.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-10-17 18:50:04
Tree: 0eef06ed86a703252f3b8e5acade6ed072a2f83a
shared/uhid.c: Fix 32-bit integer truncation Id paramter given to bt_uhid_set_report_reply() and bt_uhid_get_report_reply() corresponds to a 32-bit tag value passed to us from the kernel side of UHID. Specifying this parameter as uint8_t breaks the synchronization after 255 request and renders the attached BLE device inoperable. Fixes: 92ed637ab2bc ("shared/uhid: Add dedicated functions for each UHID opcode") Cc: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat
| M | src/shared/uhid.c | | | 4 | ++- - |
| M | src/shared/uhid.h | | | 4 | ++- - |
2 files changed, 4 insertions(+), 4 deletions(-)