From d09d075d6c36fe5ac2a6b91ecff8283d888ea279 Mon Sep 17 00:00:00 2001 From: Claudio Takahasi Date: Tue, 25 Mar 2014 11:50:18 -0300 Subject: [PATCH] proximity: Remove att_put_u8() usage --- profiles/proximity/reporter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.47.3