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

Commit eea469a9 authored by Chris Manton's avatar Chris Manton Committed by Automerger Merge Worker
Browse files

Disable the `freeze le l2cap randomly` feature am: dd947631

parents 76455542 dd947631
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -1100,12 +1100,10 @@ static void l2c_link_send_to_lower_br_edr(tL2C_LCB* p_lcb, BT_HDR* p_buf) {
}

static void l2c_link_send_to_lower_ble(tL2C_LCB* p_lcb, BT_HDR* p_buf) {
  const uint16_t acl_packet_size_ble =
      controller_get_interface()->get_acl_packet_size_ble();
  const uint16_t acl_data_size_ble =
      controller_get_interface()->get_acl_data_size_ble();
  const uint16_t link_xmit_quota = p_lcb->link_xmit_quota;
  const bool is_ble_and_fits_in_buffer = (p_buf->len <= acl_packet_size_ble);
  const bool is_ble_and_fits_in_buffer = true;

  if (is_ble_and_fits_in_buffer) {
    if (link_xmit_quota == 0) {