aboutsummaryrefslogtreecommitdiffstats
path: root/attrib/client.c
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2011-04-26 21:13:49 +0100
committerJohan Hedberg <johan.hedberg@nokia.com>2011-04-26 21:13:49 +0100
commit1f8969c0435f8d49c20f46dba9bece21031997c7 (patch)
tree43893cffa31bed88a59efa5c8103c34f88f27e31 /attrib/client.c
parentf194be5c746d1ad6f093d1b175b7b0e1ccafad58 (diff)
downloadbluez-1f8969c0435f8d49c20f46dba9bece21031997c7.tar.gz
bluez-1f8969c0435f8d49c20f46dba9bece21031997c7.tar.xz
bluez-1f8969c0435f8d49c20f46dba9bece21031997c7.zip
Clean up ATT CID & PSM magic values & definititions
Use proper defines for the ATT CID and PSM. The values are really ATT and not GATT specific so move them from gatt.h to att.h.
Diffstat (limited to 'attrib/client.c')
-rw-r--r--attrib/client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/attrib/client.c b/attrib/client.c
index 2dd70c94..71df532c 100644
--- a/attrib/client.c
+++ b/attrib/client.c
@@ -384,7 +384,7 @@ static int l2cap_connect(struct gatt_service *gatt, GError **gerr,
io = bt_io_connect(BT_IO_L2CAP, connect_cb, gatt, NULL, gerr,
BT_IO_OPT_SOURCE_BDADDR, &gatt->sba,
BT_IO_OPT_DEST_BDADDR, &gatt->dba,
- BT_IO_OPT_CID, GATT_CID,
+ BT_IO_OPT_CID, ATT_CID,
BT_IO_OPT_SEC_LEVEL, BT_IO_SEC_LOW,
BT_IO_OPT_INVALID);
else