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

Commit 7e35acc8 authored by Tiansong Cui's avatar Tiansong Cui Committed by android-build-merger
Browse files

Allow bond request from devices with BTM_IO_CAP_NONE

am: 1fdcae14

Change-Id: I50aa6393eb74fb83ea5878c7236930dc81f35bc1
parents bc41ffed 1fdcae14
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -3775,12 +3775,10 @@ static uint8_t bta_dm_ble_smp_cback(tBTM_LE_EVT event, const RawAddress& bda,
  memset(&sec_event, 0, sizeof(tBTA_DM_SEC));
  switch (event) {
    case BTM_LE_IO_REQ_EVT:
      if (btm_local_io_caps != BTM_IO_CAP_NONE) {
      bta_dm_co_ble_io_req(
          bda, &p_data->io_req.io_cap, &p_data->io_req.oob_data,
          &p_data->io_req.auth_req, &p_data->io_req.max_key_size,
          &p_data->io_req.init_keys, &p_data->io_req.resp_keys);
      }
      APPL_TRACE_EVENT("io mitm: %d oob_data:%d", p_data->io_req.auth_req,
                       p_data->io_req.oob_data);