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

Commit 2af5cc78 authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Revert "Fix GATT Server disconnecting for no reason"

This reverts commit 9a03c88c.
parent b221e1ed
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -540,6 +540,7 @@ void gap_ble_cl_op_cmpl(tGAP_CLCB* p_clcb, bool status, uint16_t len,
  /* if no further activity is requested in callback, drop the link */
  if (p_clcb->connected) {
    if (!gap_ble_send_cl_read_request(p_clcb)) {
      GATT_Disconnect(p_clcb->conn_id);
      gap_ble_dealloc_clcb(p_clcb);
    }
  }