Bluetooth: TBS: Added missing callState notifications

Changes of call state were not notified. Fixed by calling notify_calls
in respective functions.

Signed-off-by: Lukas Streitenberger <lukas.streitenberger@wsa.com>
This commit is contained in:
Lukas Streitenberger 2023-11-16 15:52:51 +01:00 committed by Carles Cufí
parent 05025e6b7c
commit 10a167f6c1

View file

@ -1836,6 +1836,8 @@ int bt_tbs_hold(uint8_t call_index)
status = tbs_hold_call(inst, &ccp);
}
notify_calls(inst);
return status;
}
@ -1852,6 +1854,8 @@ int bt_tbs_retrieve(uint8_t call_index)
status = retrieve_call(inst, &ccp);
}
notify_calls(inst);
return status;
}
@ -1869,6 +1873,8 @@ int bt_tbs_terminate(uint8_t call_index)
BT_TBS_REASON_SERVER_ENDED_CALL);
}
notify_calls(inst);
return status;
}
@ -2028,6 +2034,8 @@ int bt_tbs_remote_terminate(uint8_t call_index)
BT_TBS_REASON_REMOTE_ENDED_CALL);
}
notify_calls(inst);
return status;
}