From 7b1b9070cfba9cf859249ea55da991ac6f76a7a9 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Mon, 11 Apr 2011 15:25:23 -0300 Subject: [PATCH] Fix device type when creating from primary services storage GATT services exported through basic rate need to be created based on the "profiles" file. For GATT over LE, "primary" file entries need to be used to create the devices and primary services objects. --- src/adapter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/adapter.c b/src/adapter.c index 6caff9a20..8380a5851 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -2176,7 +2176,7 @@ static void create_stored_device_from_primary(char *key, char *value, if (l) device = l->data; else { - device = device_create(connection, adapter, key, DEVICE_TYPE_BREDR); + device = device_create(connection, adapter, key, DEVICE_TYPE_LE); if (!device) return; -- 2.47.3