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

Commit 15f4814f authored by Zach Johnson's avatar Zach Johnson
Browse files

Replace with equivalent expression

mode is always general

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: Ia9df1ec83e14d84096bf140fe3033d346f35d518
parent 979d3b4c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -605,8 +605,7 @@ tBTM_STATUS BTM_StartInquiry(tBTM_INQ_RESULTS_CB* p_results_cb,
  btm_acl_update_inquiry_status(BTM_INQUIRY_STARTED);

  if (p_inq->inq_active & BTM_SSP_INQUIRY_ACTIVE) {
    btm_process_inq_complete(BTM_NO_RESOURCES,
                             (uint8_t)(p_inqparms->mode & BTM_BR_INQUIRY_MASK));
    btm_process_inq_complete(BTM_NO_RESOURCES, BTM_GENERAL_INQUIRY);
    return BTM_CMD_STARTED;
  }