summaryrefslogtreecommitdiff
path: root/attrib/utils.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-08-28 17:08:29 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2012-08-28 17:18:28 -0700
commit5dd93fc16a76b57e1a5fd93f89b47268ceaf0599 (patch)
tree28205a694ee56b96b7b6be1533e010935c612204 /attrib/utils.c
parenta0d52c9ad0abe3d7b4f99ea855c8d7664bb3c3fd (diff)
downloadbluez-5dd93fc16a76b57e1a5fd93f89b47268ceaf0599.tar.gz
Update code base to use the new BtIO API
Diffstat (limited to 'attrib/utils.c')
-rw-r--r--attrib/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/attrib/utils.c b/attrib/utils.c
index d856fe2a3..b5ade9a24 100644
--- a/attrib/utils.c
+++ b/attrib/utils.c
@@ -76,7 +76,7 @@ GIOChannel *gatt_connect(const gchar *src, const gchar *dst,
sec = BT_IO_SEC_LOW;
if (psm == 0)
- chan = bt_io_connect(BT_IO_L2CAP, connect_cb, NULL, NULL, &err,
+ chan = bt_io_connect(connect_cb, NULL, NULL, &err,
BT_IO_OPT_SOURCE_BDADDR, &sba,
BT_IO_OPT_DEST_BDADDR, &dba,
BT_IO_OPT_DEST_TYPE, dest_type,
@@ -84,7 +84,7 @@ GIOChannel *gatt_connect(const gchar *src, const gchar *dst,
BT_IO_OPT_SEC_LEVEL, sec,
BT_IO_OPT_INVALID);
else
- chan = bt_io_connect(BT_IO_L2CAP, connect_cb, NULL, NULL, &err,
+ chan = bt_io_connect(connect_cb, NULL, NULL, &err,
BT_IO_OPT_SOURCE_BDADDR, &sba,
BT_IO_OPT_DEST_BDADDR, &dba,
BT_IO_OPT_PSM, psm,