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

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

Disable the `freeze le l2cap randomly` feature

The gd ACL layer handles fragmentation and reassembly

Bug: 227282681
Tag: #refactor
Test: gd/cert/run
BYPASS_LONG_LINES_REASON: Bluetooth likes 120 lines

Change-Id: If0496501017a26caeb9fd50d8e6e00f84d5f4689
parent b97b755f
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) {