mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
parent
2521e6db1b
commit
f464d8c596
1 changed files with 2 additions and 0 deletions
|
|
@ -369,6 +369,8 @@ static bool rfcomm_hfp_ag(struct spa_source *source, char* buf)
|
|||
if (rfcomm->transport == NULL) {
|
||||
spa_log_warn(backend->log, NAME": can't create transport: %m");
|
||||
// TODO: We should manage the missing transport
|
||||
rfcomm_send_reply(source, "ERROR");
|
||||
return true;
|
||||
}
|
||||
rfcomm->transport->codec = selected_codec;
|
||||
spa_bt_device_connect_profile(rfcomm->device, rfcomm->profile);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue