From 5453acb9b7fe43b353305ff960bb73c3dfe94421 Mon Sep 17 00:00:00 2001 From: Szymon Janc Date: Wed, 16 Oct 2024 15:34:09 +0200 Subject: [PATCH] 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 --- tests/bluetooth/tester/src/audio/btp_bap_audio_stream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bluetooth/tester/src/audio/btp_bap_audio_stream.c b/tests/bluetooth/tester/src/audio/btp_bap_audio_stream.c index 90c9b22be5c..ef942daea78 100644 --- a/tests/bluetooth/tester/src/audio/btp_bap_audio_stream.c +++ b/tests/bluetooth/tester/src/audio/btp_bap_audio_stream.c @@ -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; }