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

Commit 617ae8ce authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Stop inquiry when inquiry cancelled" into sc-dev

parents e7812c92 e624e426
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);