Diff between 4130fe22fb8af7ebc02e737f2841da766e726b16 and 9efc138e98080e1e3f27e56c30cf289e014d5302
Changed Files
| File | Additions | Deletions | Status |
| src/shared/bap.c | +3 | -0 | modified |
Full Patch
diff --git a/src/shared/bap.c b/src/shared/bap.c
index f7e42fc..208fc1b 100644
--- a/src/shared/bap.c
+++ b/src/shared/bap.c
@@ -1965,6 +1965,9 @@ static uint8_t stream_disable(struct bt_bap_stream *stream, struct iovec *rsp)
/* Sink can autonomously transit to QOS while source needs to go to
* Disabling until BT_ASCS_STOP is received.
*/
+ if (stream->ep->dir == BT_BAP_SINK)
+ stream_set_state(stream, BT_BAP_STREAM_STATE_QOS);
+
if (stream->ep->dir == BT_BAP_SOURCE)
stream_set_state(stream, BT_BAP_STREAM_STATE_DISABLING);