From 17b9d11a3509a4e8a5b7e657bbc675767b22f518 Mon Sep 17 00:00:00 2001 From: Mariusz Skamra Date: Wed, 30 Aug 2023 14:52:09 +0200 Subject: [PATCH] tests: Bluetooth: ascs: Fix compilation warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes implicit declaration of function ‘bt_bap_unicast_server_disable’ compilation warning. Signed-off-by: Mariusz Skamra --- tests/bluetooth/audio/ascs/src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/bluetooth/audio/ascs/src/main.c b/tests/bluetooth/audio/ascs/src/main.c index e41cfcb0691..b0bc7f88150 100644 --- a/tests/bluetooth/audio/ascs/src/main.c +++ b/tests/bluetooth/audio/ascs/src/main.c @@ -593,7 +593,7 @@ ZTEST_F(ascs_test_suite, test_cis_link_loss_in_enabling_state) expect_bt_bap_stream_ops_qos_set_not_called(); expect_bt_bap_stream_ops_released_not_called(); - err = bt_bap_unicast_server_disable(stream); + err = bt_bap_stream_disable(stream); zassert_equal(0, err, "Failed to disable stream: err %d", err); if (IS_ENABLED(CONFIG_BT_ASCS_ASE_SNK)) {