tests: bsim: bluetooth: audio fixes build failure

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 <cong.nguyenhuu@nxp.com>
This commit is contained in:
Cong Nguyen Huu 2024-12-26 12:31:28 +07:00 committed by Benjamin Cabé
parent d492c849a3
commit a4006e4d4e

View file

@ -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");