Skip to contentSkip to conversation

media: sep registration fix

PATCH Superseded Mikel Astiz 2 participants 2 messages Nov 16, 2011 Bluetooth drivers

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/3 media: sep registration fix

---
 audio/media.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
audio/media.c +1 -1
index e5373b8..612408c 100644
@@ -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)
Signature · 1 line
1.7.6.4
#1 lore raw

Hi Mikel,

Quoted 17 lines · Mikel Astiz

---
 audio/media.c |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
audio/media.c +1 -1
index e5373b8..612408c 100644
@@ -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,
Quoted 4 lines

err);
               if (endpoint->sep == NULL)
--
1.7.6.4

Nice catch, ack.

Signature · 1 line
Luiz Augusto von Dentz