diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-09-12 16:20:25 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2016-09-12 16:31:08 +0300 |
commit | fff323480d545861b4bc48ce24daa9df86442e27 (patch) | |
tree | 0c15f1f4583dadf4fb810281070ea550ffd9ffdc /profiles/deviceinfo | |
parent | d8fe3b06a305b1dce45d60f704de982fd93011e9 (diff) | |
download | bluez-fff323480d545861b4bc48ce24daa9df86442e27.tar.gz |
deviceinfo: Fix not handling accept properly
On accept the profile shall check about existing attribute, etc and once
done call btd_service_connecting_complete updating the service state
properly.
Diffstat (limited to 'profiles/deviceinfo')
-rw-r--r-- | profiles/deviceinfo/deviceinfo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c index 0c48f004a..34d9e204a 100644 --- a/profiles/deviceinfo/deviceinfo.c +++ b/profiles/deviceinfo/deviceinfo.c @@ -136,6 +136,8 @@ static int deviceinfo_driver_accept(struct btd_service *service) gatt_db_foreach_service(db, &deviceinfo_uuid, foreach_deviceinfo_service, device); + btd_service_connecting_complete(service, 0); + return 0; } |