From cc5a86f1dbd6cd78efeaa859cfddad646d8b8065 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Mon, 25 Mar 2013 19:05:19 -0300 Subject: handsfree-audio: Add support for sending the SCO socket Send the SCO socket to the agent associated with the card that just got connected. --- src/handsfree-audio.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c index 795a68bd..4232074f 100644 --- a/src/handsfree-audio.c +++ b/src/handsfree-audio.c @@ -291,6 +291,8 @@ static gboolean sco_connect_cb(GIOChannel *io, GIOCondition cond, sk = g_io_channel_unix_get_fd(io); + send_new_connection(card->path, sk); + close(sk); reply = dbus_message_new_method_return(card->msg); -- cgit v1.2.3