Fix : GATT client services are not updated 97/149497/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Thu, 7 Sep 2017 11:28:33 +0000 (20:28 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Tue, 12 Sep 2017 09:44:22 +0000 (18:44 +0900)
commit8d1b54d0df28760d058b586459a94b3d73090e9f
tree38d8b00413ca82f965f5192deeac8188f4578c24
parent2ff2128d396f4f39527d9f1afea5fdd0c5192adb
Fix : GATT client services are not updated

If GATT client handle is created during service discovery, some services
could not be imported. But there is no logic to refresh services once
discovery is done. This patch set a flag of services_discovered to false
if importing one of services is failed. So that, when service discovery
is done, it imports again services.

Change-Id: I366c09ed208e11b47423b034d01e288e09c1c0a7
Signed-off-by: Seungyoun Ju <sy39.ju@samsung.com>
src/bluetooth-common.c
src/bluetooth-gatt.c