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

Commit 6ca74529 authored by Chris Manton's avatar Chris Manton
Browse files

bta::jv::rfcomm: Log when unable to remove failed connection

Bug: 339906222
Test: m .
Flag: EXEMPT, Logging Change
Change-Id: Ia2b2ae40ae0d9cc7be46325ceb486e23808eeaa2
parent 3e83d3bb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1543,6 +1543,7 @@ void bta_jv_rfcomm_connect(tBTA_SEC sec_mask, uint8_t remote_scn,
  if (bta_jv.rfc_cl_init.status == tBTA_JV_STATUS::FAILURE) {
    if (handle) {
      if (RFCOMM_RemoveConnection(handle) != PORT_SUCCESS) {
        log::warn("Unable to remove RFCOMM connection handle:{}", handle);
      }
    }
  }