Parent: a3fa743e8f4d9e4fda0186e3f7709711a70be961
Author: Dmitry Torokhov <dtor@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-04-08 20:36:22
Tree: fde5cbe1684f09106bf0bc8c973de793bb51ba4c
input/hog-lib: add error handling when calling into gatt When calling gatt_write_char(), gatt_read_char(), etc, id == 0 indicates error. Let's recognize this fact and log it instead of queueing request that will never be completed.
Diffstat
| M | profiles/input/hog-lib.c | | | 77 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 48 insertions(+), 29 deletions(-)