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

Commit 2c6b0bd0 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Consolidate evt data initialization"

parents 217a81a9 1e3ddfac
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -2744,10 +2744,6 @@ void btm_io_capabilities_req(const RawAddress& p) {
  }

  tBTM_SP_IO_REQ evt_data;
  uint8_t err_code = 0;
  bool is_orig = true;
  uint8_t callback_rc = BTM_SUCCESS;

  evt_data.bd_addr = p;

  /* setup the default response according to compile options */
@@ -2757,6 +2753,10 @@ void btm_io_capabilities_req(const RawAddress& p) {
  evt_data.oob_data = BTM_OOB_NONE;
  evt_data.auth_req = BTM_DEFAULT_AUTH_REQ;

  uint8_t err_code = 0;
  bool is_orig = true;
  uint8_t callback_rc = BTM_SUCCESS;

  BTM_TRACE_EVENT("%s: State: %s", __func__,
                  btm_pair_state_descr(btm_cb.pairing_state));