summaryrefslogtreecommitdiff
path: root/src/gatt-database.c
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-02-11 18:33:58 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2019-02-13 17:08:53 +0200
commit6d410a0e2e2e801e8555a42f799ede5787565bf7 (patch)
tree622ca1fef4e1b532781743c8b7dedb83bccfcffa /src/gatt-database.c
parent54a67a1c457b6c4eb692c43f7ff7a89181b3f93b (diff)
downloadbluez-6d410a0e2e2e801e8555a42f799ede5787565bf7.tar.gz
gatt: Fix not allowing 'extended-properties' as flags
Allows 'extended-propeties' as flags.
Diffstat (limited to 'src/gatt-database.c')
-rw-r--r--src/gatt-database.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gatt-database.c b/src/gatt-database.c
index 5aaf5c690..548eabaa3 100644
--- a/src/gatt-database.c
+++ b/src/gatt-database.c
@@ -1550,6 +1550,8 @@ static bool parse_chrc_flags(DBusMessageIter *array, uint8_t *props,
} else if (!strcmp("authenticated-signed-writes", flag)) {
*props |= BT_GATT_CHRC_PROP_AUTH;
*perm |= BT_ATT_PERM_WRITE;
+ } else if (!strcmp("extended-properties", flag)) {
+ *props |= BT_GATT_CHRC_PROP_EXT_PROP;
} else if (!strcmp("reliable-write", flag)) {
*ext_props |= BT_GATT_CHRC_EXT_PROP_RELIABLE_WRITE;
*perm |= BT_ATT_PERM_WRITE;