Currently it was only marked when acting as the initiator. --- audio/avdtp.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/audio/avdtp.c b/audio/avdtp.c index efed9b6..2591845 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -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); -- 1.6.3.3 -- Luiz Augusto von Dentz Computer Engineer
From 22ea50f266692225dfc3836b90ced4514e2de16c Mon Sep 17 00:00:00 2001 From: Luiz Augusto Von Dentz <luiz.dentz-von@xxxxxxxxx> 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(-) diff --git a/audio/avdtp.c b/audio/avdtp.c index efed9b6..2591845 100644 --- a/audio/avdtp.c +++ b/audio/avdtp.c @@ -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); -- 1.6.3.3