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

Commit 160b5c56 authored by Himanshu Rawat's avatar Himanshu Rawat Committed by Automerger Merge Worker
Browse files

Allow L2CAP to send packets while changing link power state am: a233a7dd

parents 85017326 a233a7dd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -792,6 +792,11 @@ void l2c_pin_code_request(const RawAddress& bd_addr) {
 *
 ******************************************************************************/
static bool l2c_link_check_power_mode(tL2C_LCB* p_lcb) {
  if (com::android::bluetooth::flags::transmit_smp_packets_before_release()) {
    // TODO: Remove this function when flag transmit_smp_packets_before_release is released
    return false;
  }

  bool need_to_active = false;

  // Return false as LM modes are applicable for BREDR transport