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

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

Remove unused def L2CAP_WAKE_PARKED_LINK

Because when false untested hence unsupported

Bug: 163134718
Tag: #refactor
Test: compile & verify basic functions working
Test: acts -tc BleCocTest
Change-Id: Ie24b10ed24230616f9f086b2463b09c37eb57e6f
parent 92d914d1
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -651,12 +651,8 @@ extern void l2c_link_sec_comp2(const RawAddress& p_bda, tBT_TRANSPORT trasnport,
                               void* p_ref_data, uint8_t status);
extern void l2c_link_adjust_chnl_allocation(void);

#if (L2CAP_WAKE_PARKED_LINK == TRUE)
extern bool l2c_link_check_power_mode(tL2C_LCB* p_lcb);
#define L2C_LINK_CHECK_POWER_MODE(x) l2c_link_check_power_mode((x))
#else  // L2CAP_WAKE_PARKED_LINK
#define L2C_LINK_CHECK_POWER_MODE(x) (false)
#endif  // L2CAP_WAKE_PARKED_LINK

#if (L2CAP_CONFORMANCE_TESTING == TRUE)
/* Used only for conformance testing */
+0 −2
Original line number Diff line number Diff line
@@ -803,7 +803,6 @@ void l2c_pin_code_request(const RawAddress& bd_addr) {
  }
}

#if (L2CAP_WAKE_PARKED_LINK == TRUE)
/*******************************************************************************
 *
 * Function         l2c_link_check_power_mode
@@ -846,7 +845,6 @@ bool l2c_link_check_power_mode(tL2C_LCB* p_lcb) {
  }
  return false;
}
#endif /* L2CAP_WAKE_PARKED_LINK == TRUE) */

/*******************************************************************************
 *