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

Commit 51d29eff authored by Chris Manton's avatar Chris Manton
Browse files

Re-log BTM_SetSsrParams

Towards loggable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run --host

Change-Id: Ida8b507b32d5978b0ce98596ac58dde37874c39a
parent 02cb060d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -301,6 +301,13 @@ tBTM_STATUS BTM_SetSsrParams(const RawAddress& remote_bda, uint16_t max_lat,
  }

  if (p_cb->state == BTM_PM_ST_ACTIVE || p_cb->state == BTM_PM_ST_SNIFF) {
    LOG_INFO(
        "Set sniff subrating state:%s[%d] max_latency:0x%04x "
        "min_remote_timeout:0x%04x"
        " min_local_timeout:0x%04x",
        power_mode_state_text(btm_cb.acl_cb_.pm_mode_db[acl_ind].state).c_str(),
        btm_cb.acl_cb_.pm_mode_db[acl_ind].state, max_lat, min_rmt_to,
        min_loc_to);
    send_sniff_subrating(*p_acl, max_lat, min_rmt_to, min_loc_to);
    return BTM_SUCCESS;
  }