From 7e63943631ad3820e535bae439589790c6e143d3 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 26 Jun 2014 13:14:07 +0300 Subject: [PATCH] core: Fix bogus check to resume pending authorizations After incoming pairing the code will attempt reverse service discovery and queue any authorization request until the services are resolved, once this process was completed the code should resume the authorization process no matter how many are queued. --- src/adapter.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/adapter.c b/src/adapter.c index ca0f19349..762560a9d 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -4677,9 +4677,6 @@ static void svc_complete(struct btd_device *dev, int err, void *user_data) auth->svc_id = 0; - if (adapter->auths->length != 1) - return; - if (adapter->auth_idle_id != 0) return; -- 2.47.3