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

Commit 640bc159 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Do not perform SSR when avdtp start" into tm-dev am: 29937fd3

parents d1dc00e4 29937fd3
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -449,7 +449,12 @@ static void bta_dm_pm_cback(tBTA_SYS_CONN_STATUS status, uint8_t id,
  }

  if (p_bta_dm_ssr_spec[index].max_lat || index == BTA_DM_PM_SSR_HH) {
    /* do not perform ssr for AVDTP start */
    if (id != BTA_ID_AV || status != BTA_SYS_CONN_BUSY) {
      bta_dm_pm_ssr(peer_addr, index);
    } else {
      LOG_DEBUG("Do not perform SSR when AVDTP start");
    }
  } else {
    const controller_t* controller = controller_get_interface();
    uint8_t* p = NULL;