From 6e58fd797f6bf46e83b1124169e2f7b8faf5f506 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 5 Sep 2014 15:49:09 +0300 Subject: [PATCH] core: Fix idle watch not being removed properly The idle watch used to dispatch authorization should be removed when waiting services to be resolved. --- src/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapter.c b/src/adapter.c index 4e6315d4b..f9c58afc5 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -4984,7 +4984,7 @@ static gboolean process_auth_queue(gpointer user_data) /* Wait services to be resolved before asking authorization */ if (auth->svc_id > 0) - return TRUE; + return FALSE; if (device_is_trusted(device) == TRUE) { auth->cb(NULL, auth->user_data); -- 2.47.3