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

Commit 4cc8bd1e authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Re-log BTM_SetSsrParams am: 51d29eff am: 40698d8a

Original change: https://android-review.googlesource.com/c/platform/system/bt/+/1534844

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia14de9698939b46448b20b947e2f38180a76078c
parents b77db6b7 40698d8a
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;
  }