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

Commit ad90d6ee authored by Zach Johnson's avatar Zach Johnson
Browse files

This condition will never be met

It's always BTM_GENERAL_INQUIRY, so it will never be true.

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I1611a616f099cb5d802bb1c75d2ae6aeb1f95c38
parent 20c229b5
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -641,13 +641,6 @@ tBTM_STATUS BTM_StartInquiry(tBTM_INQ_RESULTS_CB* p_results_cb,
  }
  p_inq->inqparms.mode &= ~BTM_BLE_INQUIRY_MASK;

  BTM_TRACE_DEBUG("BTM_StartInquiry: mode = %02x", p_inq->inqparms.mode);

  /* we're done with this routine if BR/EDR inquiry is not desired. */
  if ((p_inq->inqparms.mode & BTM_BR_INQUIRY_MASK) == BTM_INQUIRY_NONE) {
    return status;
  }

  btm_initiate_inquiry();
  return BTM_CMD_STARTED;
}