hci: use ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION to terminate sync

This commit is contained in:
Matthias Ringwald 2024-02-12 13:21:50 +01:00
parent 15f9bb6dad
commit d1620e55d1

View File

@ -6986,7 +6986,7 @@ static bool hci_run_iso_tasks(void){
return true;
case LE_AUDIO_BIG_STATE_TERMINATE:
big->state = LE_AUDIO_BIG_STATE_W4_TERMINATED;
hci_send_cmd(&hci_le_terminate_big, big->big_handle, ERROR_CODE_SUCCESS);
hci_send_cmd(&hci_le_terminate_big, big->big_handle, ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION);
return true;
default:
break;