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

Commit ad62b8c5 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Stop inquiry when inquiry cancelled" into sc-dev am: 617ae8ce

Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bt/+/15534527

Change-Id: Id185d89ce382234b4a4f8bdf504fc12d64b32a26
parents 4ae593c0 617ae8ce
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -534,8 +534,10 @@ tBTM_STATUS BTM_StartInquiry(tBTM_INQ_RESULTS_CB* p_results_cb,

  if (controller_get_interface()->supports_ble()) {
    btm_ble_start_inquiry(p_inq->inqparms.duration);
  }
  } else {
    LOG_WARN("Trying to do LE scan on a non-LE adapter");
    p_inq->inqparms.mode &= ~BTM_BLE_INQUIRY_MASK;
  }

  btm_acl_update_inquiry_status(BTM_INQUIRY_STARTED);