From 589ba36bde23173b65a2e63a451eb48668f433a3 Mon Sep 17 00:00:00 2001 From: Matt Ranostay Date: Thu, 27 Jun 2019 18:26:47 -0700 Subject: binding: bluetooth-map: notify if map_init() fails When map_init() fails it should abort the binding from starting. Currently this has only happened when attempting to connect to the D-Bus session. Bug-AGL: SPEC-2512 Change-Id: I4bc3ec37c486c85d3714125bc44462a8acdbc26b Signed-off-by: Matt Ranostay --- binding/bluetooth-map-api.c | 1 + 1 file changed, 1 insertion(+) (limited to 'binding') diff --git a/binding/bluetooth-map-api.c b/binding/bluetooth-map-api.c index 98cd360..efe2cdf 100644 --- a/binding/bluetooth-map-api.c +++ b/binding/bluetooth-map-api.c @@ -848,6 +848,7 @@ static gpointer map_func(gpointer ptr) return NULL; err_no_ns: + signal_init_done(id, -EINVAL); g_main_loop_unref(loop); err_no_loop: -- cgit 1.2.3-korg