diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-19 20:43:01 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-02-19 20:43:01 +0200 |
commit | 9cbb5351d644d7912238469320dca9d8c2c057d0 (patch) | |
tree | da51e451a4ca4b2813a0bdfe84a86c716cc028a7 /audio/avdtp.c | |
parent | 3e3b34a52fd3957421adbae2cf9258bc4adf5d7e (diff) |
No need to pass connect_cb if confirm_cb is passed
Diffstat (limited to 'audio/avdtp.c')
-rw-r--r-- | audio/avdtp.c | 2 |
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, |