From a4006e4d4ee060df6c501fafdcdb467ca27267e3 Mon Sep 17 00:00:00 2001 From: Cong Nguyen Huu Date: Thu, 26 Dec 2024 12:31:28 +0700 Subject: [PATCH] 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 --- tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c b/tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c index c830ea5b6cb7..c47286d1f8f0 100644 --- a/tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c +++ b/tests/bsim/bluetooth/audio/src/bap_broadcast_sink_test.c @@ -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");