Bluetooth: Fix ATT code printing

Fix bug printing ATT code in bt_att_recv()

Change-Id: I21fe9cb1272428e618412e98b09e8d786132eef6
Signed-off-by: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
This commit is contained in:
Andrei Emeltchenko 2015-05-06 11:52:17 +03:00 committed by Anas Nashif
commit 2ea4e83446

View file

@ -118,7 +118,7 @@ void bt_att_recv(struct bt_conn *conn, struct bt_buf *buf)
goto done;
}
BT_DBG("Received ATT code %u len %u\n", buf->len);
BT_DBG("Received ATT code %u len %u\n", hdr->code, buf->len);
bt_buf_pull(buf, sizeof(*hdr));