samples: Bluetooth: BAP: Add missing return in stream_is_streaming

Add missing return before a `false`;.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2024-11-04 15:42:11 +01:00 committed by Dan Kalowsky
parent ba58b066d4
commit 3a39ca1e7e
1 changed files with 1 additions and 1 deletions

View File

@ -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); err = bt_bap_ep_get_info(bap_stream->ep, &ep_info);
if (err != 0) { if (err != 0) {
false; return false;
} }
return ep_info.state == BT_BAP_EP_STATE_STREAMING; return ep_info.state == BT_BAP_EP_STATE_STREAMING;