aboutsummaryrefslogtreecommitdiff
path: root/src/adapter.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 /src/adapter.c
parentf194be5c746d1ad6f093d1b175b7b0e1ccafad58 (diff)
downloadbluez-1f8969c0435f8d49c20f46dba9bece21031997c7.tar.gz
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 'src/adapter.c')
-rw-r--r--src/adapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/adapter.c b/src/adapter.c
index 7e9ceac1..8dbd62c6 100644
--- a/src/adapter.c
+++ b/src/adapter.c
@@ -2016,7 +2016,7 @@ static void create_stored_device_from_profiles(char *key, char *value,
device_probe_drivers(device, uuids);
list = device_services_from_record(device, uuids);
if (list)
- device_register_services(connection, device, list, 31);
+ device_register_services(connection, device, list, ATT_PSM);
g_slist_foreach(uuids, (GFunc) g_free, NULL);
g_slist_free(uuids);