Thread (2 messages) 2 messages, 2 authors, 2010-02-18
STALE5998d

[PATCH] Mark inuse flag whenever a stream is configured

From: Luiz Augusto von Dentz <luiz.dentz@gmail.com>
Date: 2010-02-18 14:04:32
Subsystem: the rest · Maintainer: Linus Torvalds

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help