bluez5: enable asha device set only if there's a device set

Now that ASHA uses device set, no need to special case here.
This commit is contained in:
Pauli Virtanen 2025-05-11 16:13:25 +03:00
parent 436195f05f
commit e5d0dd2020

View file

@ -684,7 +684,7 @@ static void emit_node(struct impl *this, struct spa_bt_transport *t,
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.a2dp-duplex", "true");
n_items++;
}
if (in_device_set || t->media_codec->asha) {
if (in_device_set) {
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.set", this->device_set.path);
n_items++;
items[n_items] = SPA_DICT_ITEM_INIT("api.bluez5.internal", "true");