summaryrefslogtreecommitdiff
path: root/profiles/proximity/linkloss.c
diff options
context:
space:
mode:
authorDirk-Jan C. Binnema <djcb@djcbsoftware.nl>2013-07-29 11:42:49 -0700
committerJohan Hedberg <johan.hedberg@intel.com>2013-07-30 12:59:12 +0300
commit1208266dccd2f5061a3e669c04585727a9b0fb43 (patch)
tree67332e247a461cad5eef4d9cac71bb8fd58a2351 /profiles/proximity/linkloss.c
parentf3e175bd7884c7c84b68b7167d5e4dc805d374c5 (diff)
downloadbluez-1208266dccd2f5061a3e669c04585727a9b0fb43.tar.gz
attrib: Rename GATT_OPT_CHR_UUID into GATT_OPT_CHR_UUID16
Rename the option for all in-tree users. This frees up GATT_OPT_CHR_UUID to be used for UUIDs of type bt_uuid_t* (in a next patch).
Diffstat (limited to 'profiles/proximity/linkloss.c')
-rw-r--r--profiles/proximity/linkloss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/proximity/linkloss.c b/profiles/proximity/linkloss.c
index cb87b12d0..a7ed96c4e 100644
--- a/profiles/proximity/linkloss.c
+++ b/profiles/proximity/linkloss.c
@@ -290,7 +290,7 @@ void link_loss_register(struct btd_adapter *adapter)
svc_added = gatt_service_add(adapter,
GATT_PRIM_SVC_UUID, &uuid,
/* Alert level characteristic */
- GATT_OPT_CHR_UUID, ALERT_LEVEL_CHR_UUID,
+ GATT_OPT_CHR_UUID16, ALERT_LEVEL_CHR_UUID,
GATT_OPT_CHR_PROPS,
ATT_CHAR_PROPER_READ | ATT_CHAR_PROPER_WRITE,
GATT_OPT_CHR_VALUE_CB, ATTRIB_READ,