Index: bluez-5.38/src/adapter.c =================================================================== --- bluez-5.38.orig/src/adapter.c +++ bluez-5.38/src/adapter.c @@ -5828,10 +5828,10 @@ static gboolean process_auth_queue(gpoin if (auth->svc_id > 0) return FALSE; - if (device_is_trusted(device) == TRUE) { + //if (device_is_trusted(device) == TRUE) { auth->cb(NULL, auth->user_data); goto next; - } + //} /* If agent is set authorization is already ongoing */ if (auth->agent) @@ -6177,7 +6177,9 @@ static void user_confirm_request_callbac "Unable to get device object for %s", addr); return; } - + btd_adapter_confirm_reply(adapter, &ev->addr.bdaddr, + ev->addr.type, TRUE); +/* err = device_confirm_passkey(device, btohl(ev->value), ev->confirm_hint); if (err < 0) { @@ -6186,6 +6188,7 @@ static void user_confirm_request_callbac btd_adapter_confirm_reply(adapter, &ev->addr.bdaddr, ev->addr.type, FALSE); } +*/ } int btd_adapter_passkey_reply(struct btd_adapter *adapter,