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

Commit 94d868c7 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev

parents 57b0a86d 0e95c98d
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -297,8 +297,7 @@ BOOLEAN smp_send_msg_to_L2CAP(BD_ADDR rem_bda, BT_HDR *p_toL2CAP)
    if ((l2cap_ret = L2CA_SendFixedChnlData (fixed_cid, rem_bda, p_toL2CAP)) == L2CAP_DW_FAILED)
    if ((l2cap_ret = L2CA_SendFixedChnlData (fixed_cid, rem_bda, p_toL2CAP)) == L2CAP_DW_FAILED)
    {
    {
        smp_cb.total_tx_unacked -= 1;
        smp_cb.total_tx_unacked -= 1;
        SMP_TRACE_ERROR("SMP   failed to pass msg:0x%0x to L2CAP",
        SMP_TRACE_ERROR("SMP failed to pass msg to L2CAP");
                         *((UINT8 *)(p_toL2CAP + 1) + p_toL2CAP->offset));
        return FALSE;
        return FALSE;
    }
    }
    else
    else