summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2014-03-25 11:50:18 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2014-03-25 17:24:19 +0200
commitd09d075d6c36fe5ac2a6b91ecff8283d888ea279 (patch)
tree5548a07197d4806999dd858260573b6a394c5d4d
parentf1956438cc6038eef324b3adf8e446f1b84dfb2f (diff)
downloadbluez-d09d075d6c36fe5ac2a6b91ecff8283d888ea279.tar.gz
proximity: Remove att_put_u8() usage
-rw-r--r--profiles/proximity/reporter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/proximity/reporter.c b/profiles/proximity/reporter.c
index 4beeb7cce..3e4c74196 100644
--- a/profiles/proximity/reporter.c
+++ b/profiles/proximity/reporter.c
@@ -130,7 +130,7 @@ static void register_tx_power(struct btd_adapter *adapter)
/* Power level value */
bt_uuid16_create(&uuid, POWER_LEVEL_CHR_UUID);
- att_put_u8(0x00, &atval[0]);
+ atval[0] = 0x00;
attrib_db_add(adapter, h++, &uuid, ATT_NONE, ATT_NOT_PERMITTED, atval, 1);
/* Client characteristic configuration */