From 10a167f6c1f1ab4850f3bf1f8007826bff6f5285 Mon Sep 17 00:00:00 2001 From: Lukas Streitenberger Date: Thu, 16 Nov 2023 15:52:51 +0100 Subject: [PATCH] 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 --- subsys/bluetooth/audio/tbs.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/subsys/bluetooth/audio/tbs.c b/subsys/bluetooth/audio/tbs.c index 86588c11c71..06b5d7d2e3c 100644 --- a/subsys/bluetooth/audio/tbs.c +++ b/subsys/bluetooth/audio/tbs.c @@ -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; }