commit | 7aaa6c893aa89a61d20460e1ab89ac419435c3a1 | [log] [tgz] |
---|---|---|
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Mon May 08 15:48:02 2017 +0300 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri May 12 19:44:38 2017 +0300 |
tree | 2a70c611a9f85c0eb6e9d05f7ec70c51817fd037 | |
parent | 108336ee3e68f3e71b2229aee83a7d03e0cde618 [diff] |
shared/gatt-client: Insert included attribute with handle This ensures the local representation matches exactly the handle used by the remote in its database.
diff --git a/src/shared/gatt-client.c b/src/shared/gatt-client.c index 0134721..3caed5f 100644 --- a/src/shared/gatt-client.c +++ b/src/shared/gatt-client.c
@@ -457,7 +457,7 @@ if (!tmp) goto failed; - tmp = gatt_db_service_add_included(attr, tmp); + tmp = gatt_db_service_insert_included(attr, handle, tmp); if (!tmp) goto failed;