From 9cbb5351d644d7912238469320dca9d8c2c057d0 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Thu, 19 Feb 2009 20:43:01 +0200 Subject: No need to pass connect_cb if confirm_cb is passed --- audio/avdtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'audio') 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, -- cgit