summaryrefslogtreecommitdiff
path: root/profiles/audio/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'profiles/audio/sink.c')
-rw-r--r--profiles/audio/sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/audio/sink.c b/profiles/audio/sink.c
index 78a68872..750b710b 100644
--- a/profiles/audio/sink.c
+++ b/profiles/audio/sink.c
@@ -441,7 +441,7 @@ int sink_disconnect(struct btd_service *service)
if (sink->connect_id > 0) {
a2dp_cancel(sink->connect_id);
sink->connect_id = 0;
- btd_service_connecting_complete(sink->service, -ECANCELED);
+ btd_service_connecting_complete(sink->service, 0);
avdtp_unref(sink->session);
sink->session = NULL;