commit | 0a018b2d1a88813d528e1a9039ad07ec24da4a62 | [log] [tgz] |
---|---|---|
author | Marcin Kraglak <marcin.kraglak@tieto.com> | Thu Sep 08 11:29:20 2016 +0200 |
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | Fri Sep 09 17:36:05 2016 +0300 |
tree | 6d8a7b299568690a4272d9ff4bf3198d86ed70a5 | |
parent | 212b7d44f62b52b4f40b42964706fe9a1916fdb0 [diff] |
core/device: Fix using not initialised uuid value.
diff --git a/src/device.c b/src/device.c index eda873f..fd928fc 100644 --- a/src/device.c +++ b/src/device.c
@@ -2058,6 +2058,7 @@ sprintf(handle, "%04hx", handle_num); + gatt_db_attribute_get_service_uuid(service, &uuid); bt_uuid_to_string(&uuid, uuid_str, sizeof(uuid_str)); sprintf(value, GATT_INCLUDE_UUID_STR ":%04hx:%04hx:%s", start, end, uuid_str);