Skip to contentSkip to conversation

a2dp: Fix UUID of remote Sinks

PATCH Applied Luiz Augusto von Dentz 1 participant 2 messages Apr 8, 2019 Bluetooth drivers

lore
Share & tools
lore

Luiz Augusto von Dentz

author maintainer
#0 lore raw

PATCH 1/1 a2dp: Fix UUID of remote Sinks

From: Luiz Augusto von Dentz <[email protected]>

Sinks were being reported as Sources.

---
 profiles/audio/a2dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
profiles/audio/a2dp.c +1 -1
index 4001ea0ea..8f141739c 100644
@@ -1686,7 +1686,7 @@ static gboolean get_uuid(const GDBusPropertyTable *property,
 		uuid = A2DP_SOURCE_UUID;
 		break;
 	case AVDTP_SEP_TYPE_SINK:
-		uuid = A2DP_SOURCE_UUID;
+		uuid = A2DP_SINK_UUID;
 		break;
 	default:
 		uuid = "";
Signature · 1 line
2.20.1
author maintainer Applied
#1 lore raw

Hi,

Quoted 22 lines · Luiz Augusto von Dentz

From: Luiz Augusto von Dentz <[email protected]>

Sinks were being reported as Sources.

---
 profiles/audio/a2dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
profiles/audio/a2dp.c +1 -2
index 4001ea0ea..8f141739c 100644
@@ -1686,7 +1686,7 @@ static gboolean get_uuid(const GDBusPropertyTable *property,
                uuid = A2DP_SOURCE_UUID;
                break;
        case AVDTP_SEP_TYPE_SINK:
-               uuid = A2DP_SOURCE_UUID;
+               uuid = A2DP_SINK_UUID;
                break;
        default:
                uuid = "";
--
Quoted 1 line

2.20.1

Applied.

Signature · 1 line
Luiz Augusto von Dentz