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

Commit f58cce77 authored by Chris Manton's avatar Chris Manton
Browse files

Only read power mode on non-le links

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Test: acts -tc BleCocTest
Change-Id: I8832601ee35a0054085917cf92c6f51ca7f5aa4c
parent 9c61131d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -833,7 +833,7 @@ static bool l2c_link_check_power_mode(tL2C_LCB* p_lcb) {
  }

  /* if we have packets to send */
  if (need_to_active) {
  if (need_to_active && !p_lcb->is_transport_ble()) {
    /* check power mode */
    tBTM_PM_MODE mode;
    if (BTM_ReadPowerMode(p_lcb->remote_bd_addr, &mode)) {