mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-02 22:25:17 +00:00
bluez5: backend-ofono: Fix SCO nodes not created on oFono's CardAdded
oFono's CardAdded signal from can occur after BlueZ's ServicesResolved signal. In this case the device is created without SCO nodes. This is fixed by not enforcing device creation on ServicesResolved signal.
This commit is contained in:
parent
18da8fd21f
commit
ebdaac160c
|
@ -773,7 +773,7 @@ static int device_update_props(struct spa_bt_device *device,
|
|||
}
|
||||
else if (strcmp(key, "ServicesResolved") == 0) {
|
||||
if (value)
|
||||
spa_bt_device_check_profiles(device, true);
|
||||
spa_bt_device_check_profiles(device, false);
|
||||
}
|
||||
}
|
||||
else if (strcmp(key, "UUIDs") == 0) {
|
||||
|
|
Loading…
Reference in a new issue