Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a49b4d93 authored by Zhihai Xu's avatar Zhihai Xu
Browse files

print MTU size after get MTU request from iphone.

bug:13568537
Change-Id: If1a4e93b7ef53662bd740da0d3bb91fe747de031
parent 45d4a673
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -929,6 +929,8 @@ static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data)
        else
            p_tcb->payload_size = mtu;

        GATT_TRACE_ERROR1("MTU request PDU with MTU size %d", p_tcb->payload_size);

        if ((p_buf = attp_build_sr_msg(p_tcb, GATT_RSP_MTU, (tGATT_SR_MSG *) &p_tcb->payload_size)) != NULL)
        {
            attp_send_sr_msg (p_tcb, p_buf);