summaryrefslogtreecommitdiffstats
path: root/input/device.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-05-07 18:39:36 +0000
committerLuiz Augusto von Dentz <luiz.dentz@openbossa.org>2008-05-07 18:39:36 +0000
commitf85b9560ece47c94ec82466cba9c44da715591d9 (patch)
tree645f8359293bd12af288628493402de4461512b2 /input/device.c
parent319f3d5167907dcd1bdc27653ac889424455e42a (diff)
Make bt_l2cap_connect to take mtu as paramter.
Diffstat (limited to 'input/device.c')
-rw-r--r--input/device.c4
1 files changed, 2 insertions, 2 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);