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 #83388

Signed-off-by: Cong Nguyen Huu <[email protected]>
  • Loading branch information
congnguyenhuu authored and kartben committed Dec 26, 2024
1 parent d492c84 commit a4006e4
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 a4006e4

Please sign in to comment.