Skip to content

Commit 3a39ca1

Browse files
Thalleydkalowsk
authored andcommitted
samples: Bluetooth: BAP: Add missing return in stream_is_streaming
Add missing return before a `false`;. Signed-off-by: Emil Gydesen <[email protected]>
1 parent ba58b06 commit 3a39ca1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/bluetooth/bap_unicast_client/src/stream_tx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ static bool stream_is_streaming(const struct bt_bap_stream *bap_stream)
4848

4949
err = bt_bap_ep_get_info(bap_stream->ep, &ep_info);
5050
if (err != 0) {
51-
false;
51+
return false;
5252
}
5353

5454
return ep_info.state == BT_BAP_EP_STATE_STREAMING;

0 commit comments

Comments
 (0)