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

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

Disable the `freeze le l2cap randomly` feature am: dd947631 am: eea469a9 am: 8cbe1676

parents a15bb1c4 8cbe1676
Loading
Loading
Loading
Loading
+1 −3
Original line number Original line 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) {
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 =
  const uint16_t acl_data_size_ble =
      controller_get_interface()->get_acl_data_size_ble();
      controller_get_interface()->get_acl_data_size_ble();
  const uint16_t link_xmit_quota = p_lcb->link_xmit_quota;
  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 (is_ble_and_fits_in_buffer) {
    if (link_xmit_quota == 0) {
    if (link_xmit_quota == 0) {