handsfree-audio: Add support for sending the SCO socket

Send the SCO socket to the agent associated with the card that
just got connected.
This commit is contained in:
Vinicius Costa Gomes 2013-03-25 19:05:19 -03:00 committed by Denis Kenzior
parent c3cd427ee8
commit cc5a86f1db
1 changed files with 2 additions and 0 deletions

View File

@ -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);