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

Commit a4aad71d authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Change the connecting state to FALSE for BLE devices while releasing LCB"

parents 9c0b5a97 3a67c565
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -172,7 +172,8 @@ void l2cu_release_lcb(tL2C_LCB* p_lcb) {
  }

  // Reset BLE connecting flag only if the address matches
  if (l2cb.ble_connecting_bda == p_lcb->remote_bd_addr)
  if (p_lcb->transport == BT_TRANSPORT_LE &&
      l2cb.ble_connecting_bda == p_lcb->remote_bd_addr)
    l2cb.is_ble_connecting = false;

#if (L2CAP_NUM_FIXED_CHNLS > 0)