bluez5: fix HFP backend behavior when BlueZ goes away

Ensure unavailable backends get unregistered.

Don't log error-level messages on HFP unregistration failures.
This commit is contained in:
Pauli Virtanen 2021-10-09 15:23:04 +03:00 committed by Wim Taymans
parent 5f7c4dec34
commit d28b36bb93
2 changed files with 17 additions and 12 deletions

View file

@ -2020,7 +2020,7 @@ static void unregister_profile(struct impl *backend, const char *profile)
m = NULL;
if (r == NULL) {
spa_log_error(backend->log, "Unregistering Profile %s failed", profile);
spa_log_info(backend->log, "Unregistering Profile %s failed", profile);
dbus_error_free(&err);
return;
}