summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/handsfree-audio.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/handsfree-audio.c b/src/handsfree-audio.c
index 14f65dcb..f1807945 100644
--- a/src/handsfree-audio.c
+++ b/src/handsfree-audio.c
@@ -101,6 +101,8 @@ static void send_new_connection(const char *card, int fd, uint8_t codec)
DBusMessage *msg;
DBusMessageIter iter;
+ DBG("%p, fd: %d, codec: %hu", card, fd, codec);
+
msg = dbus_message_new_method_call(agent->owner, agent->path,
HFP_AUDIO_AGENT_INTERFACE, "NewConnection");
if (msg == NULL)
@@ -183,6 +185,9 @@ static gboolean sco_accept(GIOChannel *io, GIOCondition cond,
return TRUE;
}
+ DBG("SCO connection setup between local: %s and remote: %s",
+ local, remote);
+
send_new_connection(card->path, nsk, card->selected_codec);
close(nsk);