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

Commit 71659b18 authored by Qasim Javed's avatar Qasim Javed Committed by Automerger Merge Worker
Browse files

Merge "Add a nullptr check." am: 9b02f35f am: 8790d0f5 am: 991149a1 am:...

Merge "Add a nullptr check." am: 9b02f35f am: 8790d0f5 am: 991149a1 am: 10b2f6ac am: 64174e33

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Bluetooth/+/2082336



Change-Id: I7a541dc71181ee11007eec1c1c70314e475b37a6
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 8a3a48eb 64174e33
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -114,6 +114,11 @@ static void l2c_csm_indicate_connection_open(tL2C_CCB* p_ccb) {
 *
 ******************************************************************************/
void l2c_csm_execute(tL2C_CCB* p_ccb, tL2CEVT event, void* p_data) {
  if (p_ccb == nullptr) {
    LOG_WARN("CCB is null for event (%d)", event);
    return;
  }

  if (!l2cu_is_ccb_active(p_ccb)) {
    LOG_WARN("CCB not in use, event (%d) cannot be processed", event);
    return;