diff options
Diffstat (limited to 'input')
| -rw-r--r-- | input/device.c | 4 | ||||
| -rw-r--r-- | input/manager.c | 6 | 
2 files changed, 5 insertions, 5 deletions
| diff --git a/input/device.c b/input/device.c index 348622e6..b27800e4 100644 --- a/input/device.c +++ b/input/device.c @@ -605,7 +605,7 @@ static void control_connect_cb(GIOChannel *chan, int err, gpointer user_data)  	idev->ctrl_sk = g_io_channel_unix_get_fd(chan);  	/* Connect to the HID interrupt channel */ -	err = bt_l2cap_connect(&idev->src, &idev->dst, L2CAP_PSM_HIDP_INTR, +	err = bt_l2cap_connect(&idev->src, &idev->dst, L2CAP_PSM_HIDP_INTR, 0,  			interrupt_connect_cb, idev);  	if (err < 0) {  		error("L2CAP connect failed:%s (%d)", strerror(-err), -err); @@ -766,7 +766,7 @@ static DBusHandlerResult device_connect(DBusConnection *conn,  	}  	/* HID devices */ -	err = bt_l2cap_connect(&idev->src, &idev->dst, L2CAP_PSM_HIDP_CTRL, +	err = bt_l2cap_connect(&idev->src, &idev->dst, L2CAP_PSM_HIDP_CTRL, 0,  			control_connect_cb, idev);  	if (err < 0) {  		error("L2CAP connect failed: %s(%d)", strerror(-err), -err); diff --git a/input/manager.c b/input/manager.c index 51085279..1c024c9c 100644 --- a/input/manager.c +++ b/input/manager.c @@ -283,7 +283,7 @@ static void control_connect_cb(GIOChannel *chan, int err, gpointer user_data)  	pr->ctrl_channel = chan;  	/* Connect to the HID interrupt channel */ -	err = bt_l2cap_connect(&pr->src, &pr->dst, L2CAP_PSM_HIDP_INTR, +	err = bt_l2cap_connect(&pr->src, &pr->dst, L2CAP_PSM_HIDP_INTR, 0,  			interrupt_connect_cb, pr);  	if (err < 0) {  		error("L2CAP connect failed:%s (%d)", strerror(-err), -err); @@ -317,7 +317,7 @@ static void create_bonding_reply(DBusPendingCall *call, void *data)  	dbus_message_unref(reply); -	err = bt_l2cap_connect(&pr->src, &pr->dst, L2CAP_PSM_HIDP_CTRL, +	err = bt_l2cap_connect(&pr->src, &pr->dst, L2CAP_PSM_HIDP_CTRL, 0,  			control_connect_cb, pr);  	if (err < 0) {  		error("L2CAP connect failed:%s (%d)", strerror(-err), -err); @@ -391,7 +391,7 @@ static void hid_record_cb(sdp_list_t *recs, int err, gpointer user_data)  	}  	/* No encryption or link key already exists -- connect control channel */ -	err = bt_l2cap_connect(&pr->src, &pr->dst, L2CAP_PSM_HIDP_CTRL, +	err = bt_l2cap_connect(&pr->src, &pr->dst, L2CAP_PSM_HIDP_CTRL, 0,  			control_connect_cb, pr);  	if (err < 0) {  		error("L2CAP connect failed:%s (%d)", strerror(-err), -err); | 
