Diff between 655421a962636d3e2ed2124eee8f588b0815ae3b and 168377c0c8e8d36ba291e3cef5fe5185d7ef0be2

Changed Files

File Additions Deletions Status
src/shared/bap.c +1 -0 modified

Full Patch

diff --git a/src/shared/bap.c b/src/shared/bap.c
index 40e1c97..2d4f003 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -2124,6 +2124,7 @@ static unsigned int bap_ucast_start(struct bt_bap_stream *stream,
 static uint8_t stream_disable(struct bt_bap_stream *stream, struct iovec *rsp)
 {
 	if (!stream || stream->ep->state == BT_BAP_STREAM_STATE_QOS ||
+			stream->ep->state == BT_BAP_STREAM_STATE_CONFIG ||
 			stream->ep->state == BT_BAP_STREAM_STATE_IDLE)
 		return 0;