All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH BlueZ] a2dp: Fix UUID of remote Sinks
@ 2019-04-08  9:43 Luiz Augusto von Dentz
  2019-04-08 15:58 ` Luiz Augusto von Dentz
  0 siblings, 1 reply; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2019-04-08  9:43 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Sinks were being reported as Sources.
---
 profiles/audio/a2dp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
index 4001ea0ea..8f141739c 100644
--- a/profiles/audio/a2dp.c
+++ b/profiles/audio/a2dp.c
@@ -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 = "";
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH BlueZ] a2dp: Fix UUID of remote Sinks
  2019-04-08  9:43 [PATCH BlueZ] a2dp: Fix UUID of remote Sinks Luiz Augusto von Dentz
@ 2019-04-08 15:58 ` Luiz Augusto von Dentz
  0 siblings, 0 replies; 2+ messages in thread
From: Luiz Augusto von Dentz @ 2019-04-08 15:58 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

On Mon, Apr 8, 2019 at 12:43 PM Luiz Augusto von Dentz
<luiz.dentz@gmail.com> wrote:
>
> From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
>
> Sinks were being reported as Sources.
> ---
>  profiles/audio/a2dp.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/profiles/audio/a2dp.c b/profiles/audio/a2dp.c
> index 4001ea0ea..8f141739c 100644
> --- a/profiles/audio/a2dp.c
> +++ b/profiles/audio/a2dp.c
> @@ -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 = "";
> --
> 2.20.1

Applied.

-- 
Luiz Augusto von Dentz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-08 15:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08  9:43 [PATCH BlueZ] a2dp: Fix UUID of remote Sinks Luiz Augusto von Dentz
2019-04-08 15:58 ` Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.