Fix : LE Connect d-bus method is not returned 56/136656/1
authorSeungyoun Ju <sy39.ju@samsung.com>
Wed, 21 Jun 2017 06:25:59 +0000 (15:25 +0900)
committerSeungyoun Ju <sy39.ju@samsung.com>
Fri, 30 Jun 2017 14:41:41 +0000 (23:41 +0900)
commit40c5bc1ad56c03e0db36128808531af368cfd940
tree2704d7cff24c3e1d6615009034fd05f1f5d706a8
parent9cff930ed1de8b2f3c380e8e58722340f28d1074
Fix : LE Connect d-bus method is not returned

[Problem] While advertising is going on, if le connection is initiated
 to the device which doesn't have proxy (it means that the device neither
 be discovered once nor be paired), d-bus timeout happens in caller side.
[Cause & Measure] When le connection API is called in timer callback,
 there is no logic to reply to previous d-bus method call. This patch
 adds the logic to return the result in such a case.
[Checking Method] Try to connect to unknown LE device during advertising

Change-Id: Icbeba665eb749b84bc6bb35deeff09747c4a007a
bt-service/bt-service-device.c