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

Commit 3037ef21 authored by Chris Manton's avatar Chris Manton
Browse files

Internally link stack/l2cap/l2c_link::l2c_link_check_power_mode

Towards readable code

Bug: 163134718
Tag: #refactor
Test: acts -tc BleCocTest
Test: ble paired 2 phones
Change-Id: If653303d78db7ed0dea16ef6dfff1de7c2766d74
parent 9b66a1d3
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -651,8 +651,6 @@ 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);

extern bool l2c_link_check_power_mode(tL2C_LCB* p_lcb);

#if (L2CAP_CONFORMANCE_TESTING == TRUE)
/* Used only for conformance testing */
extern void l2cu_set_info_rsp_mask(uint32_t mask);
+1 −1
Original line number Diff line number Diff line
@@ -814,7 +814,7 @@ void l2c_pin_code_request(const RawAddress& bd_addr) {
 *                  false if nothing to send or not in park mode
 *
 ******************************************************************************/
bool l2c_link_check_power_mode(tL2C_LCB* p_lcb) {
static bool l2c_link_check_power_mode(tL2C_LCB* p_lcb) {
  tBTM_PM_MODE mode;
  tL2C_CCB* p_ccb;
  bool need_to_active = false;