Diff between b4aae7f3d92b9301ccfb24350dfe9e84a8da71ab and 8527a218d9b536c7845084d963fe83c205782af2
Changed Files
| File | Additions | Deletions | Status |
| profiles/audio/transport.c | +2 | -1 | modified |
Full Patch
diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c
index b3c087d..159fbd5 100644
--- a/profiles/audio/transport.c
+++ b/profiles/audio/transport.c
@@ -1539,7 +1539,8 @@ static guint transport_bap_suspend(struct media_transport *transport,
id = bt_bap_stream_disable(bap->stream, bap->linked, func, owner);
if (bt_bap_stream_get_type(bap->stream) == BT_BAP_STREAM_TYPE_BCAST) {
- bap_disable_complete(bap->stream, 0x00, 0x00, owner);
+ if (transport->owner == owner)
+ bap_disable_complete(bap->stream, 0x00, 0x00, owner);
return 0;
}