Mark inuse flag whenever a stream is configured
Luiz Augusto von Dentz
maintainerPATCH 1/1 Mark inuse flag whenever a stream is configured
Currently it was only marked when acting as the initiator.
--- audio/avdtp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
audio/avdtp.c +0 -0
@@ -1426,6 +1426,7 @@ static gboolean avdtp_setconf_cmd(struct avdtp
*session, uint8_t transaction,
}
sep->stream = stream;
+ sep->info.inuse = 1;
session->streams = g_slist_append(session->streams, stream);
avdtp_sep_set_state(session, sep, AVDTP_STATE_CONFIGURED);
Signature · 6 lines
1.6.3.3 -- Luiz Augusto von Dentz Computer Engineer
From 22ea50f266692225dfc3836b90ced4514e2de16c Mon Sep 17 00:00:00 2001
From: Luiz Augusto Von Dentz <[email protected]>
Date: Thu, 18 Feb 2010 13:21:21 +0200
Subject: [PATCH] Mark inuse flag whenever a stream is configured
Currently it was only marked when acting as the initiator.
--- audio/avdtp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
audio/avdtp.c +1 -0
@@ -1426,6 +1426,7 @@ static gboolean avdtp_setconf_cmd(struct avdtp *session, uint8_t transaction, } sep->stream = stream; + sep->info.inuse =1 ; session->streams =g_slist_append (session->streams, stream);avdtp_sep_set_state (session, sep,AVDTP_STATE_CONFIGURED );
Signature · 1 line
1.6.3.3
Hi Luiz,
Quoted 17 lines · Luiz Augusto von Dentz
Currently it was only marked when acting as the initiator.
--- audio/avdtp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)audio/avdtp.c +1
-0@@ -1426,6 +1426,7 @@ static gboolean avdtp_setconf_cmd(struct avdtp *session, uint8_t transaction, } sep->stream = stream; + sep->info.inuse =1 ; session->streams =g_slist_append (session->streams, stream);
Quoted 1 line
avdtp_sep_set_state(session, sep, AVDTP_STATE_CONFIGURED);
The patch has been pushed upstream. Thanks.
Johan