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:
Mariusz Skamra 2015-12-22 11:50:01 +01:00 committed by Anas Nashif
commit af8ec50e0d

View file

@ -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);