Skip to content

Commit 316a551

Browse files
Thalleycarlescufi
authored andcommitted
Bluetooth: CAP: Remove check for ep in valid_unicast_audio_start_param
This allows the procedure to work for streams in the non-idle state, e.g. we can start one of more streams in the codec configured or even enabling state. Signed-off-by: Emil Gydesen <[email protected]>
1 parent 8b8f727 commit 316a551

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

subsys/bluetooth/audio/cap_initiator.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -719,11 +719,6 @@ static bool valid_unicast_audio_start_param(const struct bt_cap_unicast_audio_st
719719

720720
bap_stream = &cap_stream->bap_stream;
721721

722-
CHECKIF(bap_stream->ep != NULL) {
723-
LOG_DBG("param->streams[%zu] is already started", i);
724-
return false;
725-
}
726-
727722
CHECKIF(bap_stream->group == NULL) {
728723
LOG_DBG("param->streams[%zu] is not in a unicast group", i);
729724
return false;

0 commit comments

Comments
 (0)