mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-17 01:04:40 +08:00
No need to pass connect_cb if confirm_cb is passed
This commit is contained in:
parent
3e3b34a52f
commit
9cbb5351d6
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user