Fix TCT fail issue by API calling timing 96/215796/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023712 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083548 accepted/tizen/unified/20191017.011746 submit/tizen/20191016.055918 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
authorDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 16 Oct 2019 04:19:02 +0000 (13:19 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Wed, 16 Oct 2019 04:48:13 +0000 (13:48 +0900)
commita85d361ff1719456fd37d32adf68aef94e9d67b5
tree07b076e0f7842a4e500cee524edd7449415e9c74
parenta81708cd9a7345fdb2977f406babc229e84aa82d
Fix TCT fail issue by API calling timing

Befor and after sending BR/EDR or LE discovery command,
we should wait some time before recieving the complete event.
Otherwise the discoverying operation can be failed in the
stack layer, and the discoverying state wiil be not matched .

Change-Id: Ia9a07c9c2e3d8c907119d28e12dfac337a40cd44
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-oal/bluez_hal/src/bt-hal-event-receiver.c
bt-service-adaptation/services/adapter/bt-service-core-adapter.c