Thread (11 messages) flat view 11 messages, 3 authors, 2011-09-06
STALE5482d

[PATCH v4 3/4] Fix state to "playing" on SCO establishment

From: Frédéric Dalleau <hidden>
Date: 2011-08-31 15:48:51
Subsystem: the rest · Maintainer: Linus Torvalds

---
 audio/gateway.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/audio/gateway.c b/audio/gateway.c
index ee33d79..7b6c535 100644
--- a/audio/gateway.c
+++ b/audio/gateway.c
@@ -255,6 +255,7 @@ static void sco_connect_cb(GIOChannel *chan, GError *err, gpointer user_data)
 	g_io_add_watch(gw->sco, G_IO_ERR | G_IO_HUP | G_IO_NVAL,
 				(GIOFunc) sco_io_cb, dev);
 
+	change_state(dev, GATEWAY_STATE_PLAYING);
 	run_connect_cb(dev, NULL);
 }
 
-- 
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help