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

Commit a34a2aff authored by Chris Manton's avatar Chris Manton
Browse files

Remove unused function btm_sec_is_le_capable_dev

stack/btm/btm_sec::btm_sec_is_le_capable_dev

Bug: 164357702
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I621d0bce0489acf3772215859ab6450bcc2f76fd
parent 56868fb7
Loading
Loading
Loading
Loading
+0 −19
Original line number Diff line number Diff line
@@ -5383,25 +5383,6 @@ bool btm_sec_is_a_bonded_dev(const RawAddress& bda) {
  return (is_bonded);
}

/*******************************************************************************
 *
 * Function         btm_sec_is_le_capable_dev
 *
 * Description       Is the specified device is dual mode or LE only device
 *
 * Returns          true - dev is a dual mode
 *
 ******************************************************************************/
bool btm_sec_is_le_capable_dev(const RawAddress& bda) {
  tBTM_SEC_DEV_REC* p_dev_rec = btm_find_dev(bda);
  bool le_capable = false;

  if (p_dev_rec &&
      (p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) == BT_DEVICE_TYPE_BLE)
    le_capable = true;
  return le_capable;
}

/*******************************************************************************
 *
 * Function         btm_sec_use_smp_br_chnl