diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2011-04-26 21:13:49 +0100 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2011-04-26 21:13:49 +0100 |
commit | 1f8969c0435f8d49c20f46dba9bece21031997c7 (patch) | |
tree | 43893cffa31bed88a59efa5c8103c34f88f27e31 /src/adapter.c | |
parent | f194be5c746d1ad6f093d1b175b7b0e1ccafad58 (diff) | |
download | bluez-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.c | 2 |
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); |