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

Commit 4e999737 authored by Andre Eisenbach's avatar Andre Eisenbach Committed by Android (Google) Code Review
Browse files

Merge "If L2CA_ConnectFixedChnl fails, free L2CAP lcb for the attempted connection" into lmp-dev

parents 3736ae65 4d355187
Loading
Loading
Loading
Loading
+7 −1
Original line number Original line Diff line number Diff line
@@ -1396,7 +1396,13 @@ BOOLEAN L2CA_ConnectFixedChnl (UINT16 fixed_cid, BD_ADDR rem_bda)
        return (FALSE);
        return (FALSE);
    }
    }


    return (l2cu_create_conn(p_lcb, transport));
    if (!l2cu_create_conn(p_lcb, transport))
    {
        L2CAP_TRACE_WARNING ("L2CA_ConnectFixedChnl create_conn failed");
        l2cu_release_lcb (p_lcb);
        return (FALSE);
    }
    return (TRUE);
}
}


/*******************************************************************************
/*******************************************************************************