mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
bluez5: backend-native: Check current calls on SLC completion
This allows to create the calls existing before the HFP connection.
This commit is contained in:
parent
63e1c48c8b
commit
627515f641
1 changed files with 8 additions and 0 deletions
|
|
@ -2146,6 +2146,14 @@ static bool rfcomm_hfp_hf(struct rfcomm *rfcomm, char* token)
|
|||
}
|
||||
telephony_ag_register(rfcomm->telephony_ag);
|
||||
|
||||
if (rfcomm->hfp_hf_clcc) {
|
||||
rfcomm_send_cmd(rfcomm, "AT+CLCC");
|
||||
rfcomm->hf_state = hfp_hf_slc2;
|
||||
break;
|
||||
} else {
|
||||
// TODO: Create calls if CIND reports one during SLC setup
|
||||
}
|
||||
|
||||
/* Report volume on SLC establishment */
|
||||
SPA_FALLTHROUGH;
|
||||
case hfp_hf_slc2:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue