From d1620e55d175ac322fae8986bd6820e826e09a1d Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Mon, 12 Feb 2024 13:21:50 +0100 Subject: [PATCH] hci: use ERROR_CODE_REMOTE_USER_TERMINATED_CONNECTION to terminate sync --- src/hci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hci.c b/src/hci.c index db84da9aa1..b8f1e1b187 100644 --- a/src/hci.c +++ b/src/hci.c @@ -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;