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

Commit bc0c524e authored by Jakub Pawłowski's avatar Jakub Pawłowski Committed by Automerger Merge Worker
Browse files

Merge "bta_gattc_start_discover: trivial style fix" into main am: e34d7578

parents 4d3b2778 e34d7578
Loading
Loading
Loading
Loading
+31 −30
Original line number Diff line number Diff line
@@ -822,7 +822,11 @@ void bta_gattc_start_discover(tBTA_GATTC_CLCB* p_clcb,
  {
    p_clcb->auto_update = BTA_GATTC_NO_SCHEDULE;

    if (p_clcb->p_srcb != NULL) {
    if (p_clcb->p_srcb == NULL) {
      LOG(ERROR) << "unknown device, can not start discovery";
      return;
    }

    /* set all srcb related clcb into discovery ST */
    bta_gattc_set_discover_st(p_clcb->p_srcb);

@@ -854,9 +858,6 @@ void bta_gattc_start_discover(tBTA_GATTC_CLCB* p_clcb,
    }

    bta_gattc_start_discover_internal(p_clcb);
    } else {
      LOG(ERROR) << "unknown device, can not start discovery";
    }
  }
  /* pending operation, wait until it finishes */
  else {