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

Commit 230cfc66 authored by Stanley Tng's avatar Stanley Tng Committed by android-build-merger
Browse files

Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into...

Merge "DO NOT MERGE Remove memory reference to invalid mem in error log" into nyc-dev am: 94d868c7
am: 29cb31fe

Change-Id: I054dd86fb610e0fbb6f1116bd34e17b1ea09e8eb
parents 29705dc2 29cb31fe
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