Bluetooth: GATT: Fix warning message
Warning shall indicate that characteristic don't have value, not descriptor. Change-Id: Ic368f57ddafb8bad597ec71d3cfcfb9e61fde434 Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
This commit is contained in:
parent
dd0186c4d0
commit
af8ec50e0d
1 changed files with 1 additions and 2 deletions
|
@ -198,8 +198,7 @@ int bt_gatt_attr_read_chrc(struct bt_conn *conn,
|
|||
* Characteristic Value declaration.
|
||||
*/
|
||||
if (!attr->_next) {
|
||||
BT_WARN("Characteritic at 0x%04x don't have descriptor",
|
||||
attr->handle);
|
||||
BT_WARN("No value for characteristic at 0x%04x", attr->handle);
|
||||
pdu.value_handle = 0x0000;
|
||||
} else {
|
||||
pdu.value_handle = sys_cpu_to_le16(attr->_next->handle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue