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:
parent
2ba3c9aa1d
commit
acc84f2bed
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue