Invoke HAL_DISCOVERY_STATE_STOPPED event once 04/229104/2
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 30 Mar 2020 00:55:06 +0000 (09:55 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 30 Mar 2020 01:14:31 +0000 (10:14 +0900)
commita71ec87c8756f752a16d54959cb218e5673769f0
treeb2ddc6e63ccf8ffe183e6566ec4deae814533757
parentdf1220bbcf62737d9791e94760011b5757614261
Invoke HAL_DISCOVERY_STATE_STOPPED event once

When the user calls the cancel discovery API, the
HAL_DISCOVERY_STATE_STOPPED event called twice.
This patchset resolves this issue.

Change-Id: Id7610da8209edf34a1205cced9fad1f18ee67c9f
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
bt-oal/bluez_hal/src/bt-hal-adapter-dbus-handler.c
bt-oal/bluez_hal/src/bt-hal-event-receiver.c