adv_monitor: Fix return type of RegisterMonitor() method
authorMiao-chen Chou <mcchou@chromium.org>
Sat, 31 Oct 2020 00:52:54 +0000 (17:52 -0700)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:33 +0000 (19:08 +0530)
commitbdb16d9b1624c23229478263e84deacae347a486
tree5b63c63c864868ee8aaa7a30ecb18e4fe3dea9d7
parent50689165b3451072cc3f073f6d80ea1009c80a5c
adv_monitor: Fix return type of RegisterMonitor() method

This modifies the D-Bus call return type to be asynchronous for
RegisterMonitor() method call.

The following test was performed:
- Enter bluetoothctl, exit the console and re-enter the console without
AlreadyExist error for RegisterMonitor() upon bring-up of the console.

Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
Signed-off-by: Ayush Garg <ayush.garg@samsung.com>
src/adv_monitor.c