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 <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2024-06-12 12:38:24 +02:00 committed by Carles Cufí
commit 316a551ff1

View file

@ -719,11 +719,6 @@ static bool valid_unicast_audio_start_param(const struct bt_cap_unicast_audio_st
bap_stream = &cap_stream->bap_stream;
CHECKIF(bap_stream->ep != NULL) {
LOG_DBG("param->streams[%zu] is already started", i);
return false;
}
CHECKIF(bap_stream->group == NULL) {
LOG_DBG("param->streams[%zu] is not in a unicast group", i);
return false;