Skip to content

Commit

Permalink
hci: use ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION to terminate sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mringwal committed Apr 17, 2024
1 parent 15f9bb6 commit d1620e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit d1620e5

Please sign in to comment.