From: Vlad Pruteanu Date: Thu, 5 Sep 2024 14:13:40 +0000 (+0300) Subject: transport: Fix broadcast sink check X-Git-Tag: accepted/tizen/unified/20250221.111447~90 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab700f0b44c6fa6561c6a2bc53326c76f00e8f11;p=platform%2Fupstream%2Fbluez.git transport: Fix broadcast sink check In transport_update_playing a check is performed to guard the path which contains the TRANSPORT_STATE_BROADCASTING state. This branch should be taken only when the device on which the code runs is a broadcast sink. Thus, the UUID check is wrong, and this patch updates it appropriately. Signed-off-by: Anuj Jain --- diff --git a/profiles/audio/transport.c b/profiles/audio/transport.c index 09674c91..814ed670 100644 --- a/profiles/audio/transport.c +++ b/profiles/audio/transport.c @@ -1427,7 +1427,7 @@ static void transport_update_playing(struct media_transport *transport, if (playing == FALSE) { if (!strcmp(media_endpoint_get_uuid(transport->endpoint), - BCAA_SERVICE_UUID)) { + BAA_SERVICE_UUID)) { if ((transport->state == TRANSPORT_STATE_BROADCASTING) || (transport->state == TRANSPORT_STATE_ACTIVE))