diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-01-05 14:01:57 -0800 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-01-05 14:01:57 -0800 |
commit | 2f4c576ad24324e13ae6522f0799fce23e1ef0bd (patch) | |
tree | 91daa93a8332e177a527fa28ec6b2897ab0ff7bc /src/device.c | |
parent | 47b6cfeee3335c2d8a25876537071b30630abf4b (diff) | |
download | bluez-2f4c576ad24324e13ae6522f0799fce23e1ef0bd.tar.gz |
hog-lib: Fix not handling BT_ATT_OP_HANDLE_NFY_MULT
This is a temporary fix for not handling BT_ATT_OP_HANDLE_NFY_MULT in
GAttr so the code will use g_attrib_attach_client to attach the
bt_gatt_client instance which is then used to register notifications
including those sent with BT_ATT_OP_HANDLE_NFY_MULT.
Fixes: https://github.com/bluez/bluez/issues/71
Diffstat (limited to 'src/device.c')
-rw-r--r-- | src/device.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.c b/src/device.c index 995d39f2c..28b93eb9a 100644 --- a/src/device.c +++ b/src/device.c @@ -5152,6 +5152,7 @@ static void gatt_client_init(struct btd_device *device) } bt_gatt_client_set_debug(device->client, gatt_debug, NULL, NULL); + g_attrib_attach_client(device->attrib, device->client); /* * Notify notify existing service about the new connection so they can |