Bluetooth: ATT: Add debug log for printing negotiated MTU

To have same logs in att_mtu_req and att_mtu_rsp.

Change-Id: Ic820f989d0928089d5b0a6bce21e5e1c369eb026
Signed-off-by: Mariusz Skamra <mariusz.skamra@tieto.com>
This commit is contained in:
Mariusz Skamra 2015-10-14 17:55:15 +02:00 committed by Anas Nashif
commit acc84f2bed

View file

@ -219,6 +219,8 @@ static uint8_t att_mtu_rsp(struct bt_conn *conn, struct bt_buf *buf)
sizeof(struct bt_hci_acl_hdr) + sizeof(struct bt_hci_acl_hdr) +
bt_dev.drv->head_reserve)); bt_dev.drv->head_reserve));
BT_DBG("Negotiated MTU %u\n", att->mtu);
return att_handle_rsp(conn, rsp, buf->len, 0); return att_handle_rsp(conn, rsp, buf->len, 0);
} }