summaryrefslogtreecommitdiff
path: root/profiles/deviceinfo
diff options
context:
space:
mode:
authorƁukasz Rymanowski <lukasz.rymanowski@codecoup.pl>2016-04-13 23:09:55 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-04-22 14:35:52 +0300
commit00910a68a7d5897fc63148e6e827c5eb545c2518 (patch)
tree545c1ede09c18e55e1e91859e48bc1b1b0471cad /profiles/deviceinfo
parentcbf002b197d178d0fd46ee12d8170ca07c3c82bc (diff)
downloadbluez-00910a68a7d5897fc63148e6e827c5eb545c2518.tar.gz
shared/gatt-db: Extend gatt_db_attribute_get_char_data with ext. prop
This patch adds way to get extended properties from characteristic extended property descriptor
Diffstat (limited to 'profiles/deviceinfo')
-rw-r--r--profiles/deviceinfo/deviceinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c
index d1f51a024..0c48f004a 100644
--- a/profiles/deviceinfo/deviceinfo.c
+++ b/profiles/deviceinfo/deviceinfo.c
@@ -88,7 +88,7 @@ static void handle_characteristic(struct gatt_db_attribute *attr,
bt_string_to_uuid(&pnpid_uuid, PNPID_UUID);
if (!gatt_db_attribute_get_char_data(attr, NULL, &value_handle, NULL,
- &uuid)) {
+ NULL, &uuid)) {
error("Failed to obtain characteristic data");
return;
}