shared/gatt-client: Fix failing to discover included attributes
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Mon, 18 Mar 2019 16:14:00 +0000 (18:14 +0200)
committerhimanshu <h.himanshu@samsung.com>
Tue, 11 Feb 2020 08:57:47 +0000 (14:27 +0530)
commit38e1f28d6ec6723db500c719ce960ea402ac8a7f
tree958bf02381bd60cacacfcee0a04c0c531f7d527f
parentee738841b60c35a1388ad3391c6836bfa029f55b
shared/gatt-client: Fix failing to discover included attributes

When there exists a included service a descriptor may already exists in
the handle location so instead of failing check if the UUID matches and
then skip to the next descriptor.

Change-Id: I6cf99f2b4316ea2f82ba393c95db72b97ca89303
Signed-off-by: himanshu <h.himanshu@samsung.com>
src/shared/gatt-client.c