bluez5: Share DBus connection between all backends

This commit is contained in:
Frédéric Danis 2020-07-24 15:26:07 +02:00 committed by Frédéric Danis
parent 34fc7ff529
commit 4fb56ee69b
4 changed files with 15 additions and 25 deletions

View file

@ -1742,8 +1742,8 @@ impl_init(const struct spa_handle_factory *factory,
spa_list_init(&this->device_list);
spa_list_init(&this->transport_list);
this->backend_hsp_native = backend_hsp_native_new(this, support, n_support);
this->backend_ofono = backend_ofono_new(this, support, n_support);
this->backend_hsp_native = backend_hsp_native_new(this, this->conn, support, n_support);
this->backend_ofono = backend_ofono_new(this, this->conn, support, n_support);
return 0;
}