From 3a39ca1e7e199e1a1ea2771ee4af1cce070265fa Mon Sep 17 00:00:00 2001 From: Emil Gydesen Date: Mon, 4 Nov 2024 15:42:11 +0100 Subject: [PATCH] samples: Bluetooth: BAP: Add missing return in stream_is_streaming Add missing return before a `false`;. Signed-off-by: Emil Gydesen --- samples/bluetooth/bap_unicast_client/src/stream_tx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bluetooth/bap_unicast_client/src/stream_tx.c b/samples/bluetooth/bap_unicast_client/src/stream_tx.c index 06ea3a3c349..ebdc01ab87f 100644 --- a/samples/bluetooth/bap_unicast_client/src/stream_tx.c +++ b/samples/bluetooth/bap_unicast_client/src/stream_tx.c @@ -48,7 +48,7 @@ static bool stream_is_streaming(const struct bt_bap_stream *bap_stream) err = bt_bap_ep_get_info(bap_stream->ep, &ep_info); if (err != 0) { - false; + return false; } return ep_info.state == BT_BAP_EP_STATE_STREAMING;