Parent: d971ca5ca318d8a48d4cfedfd36ff6a2641a12e2
Author: Dmitry Torokhov <dtor@chromium.org>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2021-04-08 20:36:23
Tree: c87ca83680067de496cbf9d2213e72f9ee7736ba
input/hog-lib: avoid scanning characteristics too early We need to have active connection to fully discover a HOG instance, and in the chain bt_hog_new()-> gatt_db_foreach_service()-> foreach_hog_service()-> hog_attach_instance() we have not set up hog->attrib yet. So let's skip calling foreach_hog_chrc() from hog_attach_instance(), especially since we will be calling bt_hog_attach() pretty much immediately after bt_hog_new(), and we will be discovering characteristics there anyway.
Diffstat
| M | profiles/input/hog-lib.c | | | 1 | - |
1 files changed, 0 insertions(+), 1 deletions(-)