Diff between f1956438cc6038eef324b3adf8e446f1b84dfb2f and d09d075d6c36fe5ac2a6b91ecff8283d888ea279

Changed Files

File Additions Deletions Status
profiles/proximity/reporter.c +1 -1 modified

Full Patch

diff --git a/profiles/proximity/reporter.c b/profiles/proximity/reporter.c
index 4beeb7c..3e4c741 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 */