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

Commit 0e717133 authored by Patty Huang's avatar Patty Huang
Browse files

Revert "l2cap: handle le connection response error"

This reverts commit a0b70078.

Reason for revert: ACL disconnect if the remote doesn't have enough resource for all the channels.

Bug: 236216322
Bug: 261441909

Test: PTS L2CAP/TIM/BV-03-C PASS
Test: ACL keep alive even if remote doesn't have enough resource for all the channels

Merged-In: I43a3b5c06dcfc4cc08b5ef1959cc62037a53006b
Change-Id: I43a3b5c06dcfc4cc08b5ef1959cc62037a53006b
(cherry picked from commit 4c751cc0)
parent ac4d6b31
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -704,7 +704,6 @@ void l2cble_process_sig_cmd(tL2C_LCB* p_lcb, uint8_t* p, uint16_t pkt_len) {
       * all the channels has been rejected
       */
      if (con_info.l2cap_result == L2CAP_LE_RESULT_NO_PSM ||
          con_info.l2cap_result == L2CAP_LE_RESULT_NO_RESOURCES ||
          con_info.l2cap_result ==
              L2CAP_LE_RESULT_INSUFFICIENT_AUTHENTICATION ||
          con_info.l2cap_result == L2CAP_LE_RESULT_INSUFFICIENT_ENCRYP ||