Bluetooth: Tester: Fix BTP response for BAP Send Data command

struct btp_bap_send_rp is already fixed size and contain extra
response byte.

Signed-off-by: Szymon Janc <szymon.janc@codecoup.pl>
This commit is contained in:
Szymon Janc 2024-10-16 15:34:09 +02:00 committed by Alberto Escolar
parent 3e5472d4c3
commit 5453acb9b7
1 changed files with 1 additions and 1 deletions

View File

@ -167,7 +167,7 @@ uint8_t btp_bap_audio_stream_send(const void *cmd, uint16_t cmd_len,
ret = btp_bap_audio_stream_send_data(cp->data, cp->data_len);
rp->data_len = ret;
*rsp_len = sizeof(*rp) + 1;
*rsp_len = sizeof(*rp);
return BTP_STATUS_SUCCESS;
}