Skip to content

Commit

Permalink
tests: bsim: bluetooth: audio fixes build failure
Browse files Browse the repository at this point in the history
Fixes build failure, correct the variable is using for
k_sem_take in function test_sink_encrypted_incorrect_code

Fixes zephyrproject-rtos#83388

Signed-off-by: Cong Nguyen Huu <[email protected]>
  • Loading branch information
congnguyenhuu authored and Devansh0210 committed Jan 7, 2025
1 parent 07d07fd commit f3c82a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -1087,7 +1087,7 @@ static void test_sink_encrypted_incorrect_code(void)
/* Wait for all to be started */
printk("Waiting for streams to be started\n");
for (size_t i = 0U; i < ARRAY_SIZE(streams); i++) {
k_sem_take(&sem_started, K_FOREVER);
k_sem_take(&sem_stream_started, K_FOREVER);
}

printk("Waiting for data\n");
Expand Down

0 comments on commit f3c82a1

Please sign in to comment.