summaryrefslogtreecommitdiffstats
path: root/binding
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-06-27 18:26:47 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-06-27 18:36:36 -0700
commit589ba36bde23173b65a2e63a451eb48668f433a3 (patch)
treeba7518dc9ce766355074987c74448e9244b9e65c /binding
parent954d0719e5238fe59a2e10223ce2e63907f66be7 (diff)
binding: bluetooth-map: notify if map_init() failshalibut_7.99.2halibut/7.99.27.99.2
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 <matt.ranostay@konsulko.com>
Diffstat (limited to 'binding')
-rw-r--r--binding/bluetooth-map-api.c1
1 files changed, 1 insertions, 0 deletions
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: