client: Use correct root path for RegisterMonitor
authorManish Mandlik <mmandlik@google.com>
Thu, 3 Dec 2020 03:46:52 +0000 (19:46 -0800)
committerAyush Garg <ayush.garg@samsung.com>
Fri, 11 Mar 2022 13:38:34 +0000 (19:08 +0530)
commitf4a1355676254b5d2e14b13ae5417da49f24c455
treee088a93ca263c8df7d972aa1d69bedb28c11d29f
parent169ea351ba25d41a58c6cd8e4b59ba2ccbf7401e
client: Use correct root path for RegisterMonitor

Bluetoothctl uses "/" as the app root path. So, use the same
app root path while invoking RegisterMonitor method. This will
also ensure that InterfacesAdded/InterfacesRemoved signals are
emitted on the correct app root path.

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