From bfdcd5590136869d29a70d9e031c97f60118cdbb Mon Sep 17 00:00:00 2001 From: Mikel Astiz Date: Mon, 21 Nov 2011 11:07:41 +0100 Subject: [PATCH] media: sep registration fix --- audio/media.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audio/media.c b/audio/media.c index e5373b8f3..612408c75 100644 --- a/audio/media.c +++ b/audio/media.c @@ -659,7 +659,7 @@ static struct media_endpoint *media_endpoint_create(struct media_adapter *adapte goto failed; } else if (strcasecmp(uuid, A2DP_SINK_UUID) == 0) { endpoint->sep = a2dp_add_sep(&adapter->src, - AVDTP_SEP_TYPE_SOURCE, codec, + AVDTP_SEP_TYPE_SINK, codec, delay_reporting, &a2dp_endpoint, endpoint, a2dp_destroy_endpoint, err); if (endpoint->sep == NULL) -- 2.47.3