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:
parent
05025e6b7c
commit
10a167f6c1
1 changed files with 8 additions and 0 deletions
|
@ -1836,6 +1836,8 @@ int bt_tbs_hold(uint8_t call_index)
|
||||||
status = tbs_hold_call(inst, &ccp);
|
status = tbs_hold_call(inst, &ccp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notify_calls(inst);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1852,6 +1854,8 @@ int bt_tbs_retrieve(uint8_t call_index)
|
||||||
status = retrieve_call(inst, &ccp);
|
status = retrieve_call(inst, &ccp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notify_calls(inst);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1869,6 +1873,8 @@ int bt_tbs_terminate(uint8_t call_index)
|
||||||
BT_TBS_REASON_SERVER_ENDED_CALL);
|
BT_TBS_REASON_SERVER_ENDED_CALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notify_calls(inst);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2028,6 +2034,8 @@ int bt_tbs_remote_terminate(uint8_t call_index)
|
||||||
BT_TBS_REASON_REMOTE_ENDED_CALL);
|
BT_TBS_REASON_REMOTE_ENDED_CALL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
notify_calls(inst);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue