From 2ea4e834468db1fcd7e1f4e496668826ff88107b Mon Sep 17 00:00:00 2001 From: Andrei Emeltchenko Date: Wed, 6 May 2015 11:52:17 +0300 Subject: [PATCH] Bluetooth: Fix ATT code printing Fix bug printing ATT code in bt_att_recv() Change-Id: I21fe9cb1272428e618412e98b09e8d786132eef6 Signed-off-by: Andrei Emeltchenko --- net/bluetooth/att.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/bluetooth/att.c b/net/bluetooth/att.c index 72fe00bfadc..4ffaf25cc1a 100644 --- a/net/bluetooth/att.c +++ b/net/bluetooth/att.c @@ -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));