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

Commit 85b92d46 authored by William Escande's avatar William Escande Committed by Gerrit Code Review
Browse files

Merge "Remove incoming HFP connection if outgoing exists"

parents a6d175f2 59204e4b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ static void bta_hf_client_mgmt_cback(uint32_t code, uint16_t port_handle) {
      if (client_cb == NULL) {
        APPL_TRACE_ERROR("%s: error allocating a new handle", __func__);
        p_buf->hdr.event = BTA_HF_CLIENT_RFC_CLOSE_EVT;
        RFCOMM_RemoveConnection(port_handle);
      } else {
        // Set the connection fields for this new CB
        client_cb->conn_handle = port_handle;