summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2009-02-19 20:43:01 +0200
committerJohan Hedberg <johan.hedberg@nokia.com>2009-02-19 20:43:01 +0200
commit9cbb5351d644d7912238469320dca9d8c2c057d0 (patch)
treeda51e451a4ca4b2813a0bdfe84a86c716cc028a7 /audio
parent3e3b34a52fd3957421adbae2cf9258bc4adf5d7e (diff)
No need to pass connect_cb if confirm_cb is passed
Diffstat (limited to 'audio')
-rw-r--r--audio/avdtp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 62a9a8fc..ea055fbb 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -3063,7 +3063,7 @@ static GIOChannel *avdtp_server_socket(const bdaddr_t *src, gboolean master)
GError *err = NULL;
GIOChannel *io;
- io = bt_io_listen(BT_IO_L2CAP, avdtp_connect_cb, avdtp_confirm_cb,
+ io = bt_io_listen(BT_IO_L2CAP, NULL, avdtp_confirm_cb,
NULL, NULL, &err,
BT_IO_OPT_SOURCE_BDADDR, src,
BT_IO_OPT_PSM, AVDTP_PSM,