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

Commit be2d222d authored by William Escande's avatar William Escande Committed by Automerger Merge Worker
Browse files

Merge "Remove incoming HFP connection if outgoing exists" am: 85b92d46

parents 9bee3653 85b92d46
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;