Skip to content

Commit 181a023

Browse files
Thalleykartben
authored andcommitted
tests: Bluetooth: Tester: Fix bad rsp len of CAP broadcast setup
The btp_cap_broadcast_source_setup_rp was reported with an invalid length. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
1 parent 228d89b commit 181a023

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/bluetooth/tester/src/audio/btp_cap.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ static uint8_t btp_cap_broadcast_source_setup(const void *cmd, uint16_t cmd_len,
719719

720720
rp->gap_settings = gap_settings;
721721
sys_put_le24(source->broadcast_id, rp->broadcast_id);
722-
*rsp_len = sizeof(*rp) + 1;
722+
*rsp_len = sizeof(*rp);
723723

724724
return BTP_STATUS_SUCCESS;
725725
}

0 commit comments

Comments
 (0)