mirror of git://git.sysmocom.de/ofono
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:
parent
c3cd427ee8
commit
cc5a86f1db
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue