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

Commit ecabc2d2 authored by Chris Manton's avatar Chris Manton
Browse files

HACK: Remove SCO disconnect short circuit

Bug: 177382279
Tag: #refactor
Test: gd/cert/run

Change-Id: Ic6aa1f96f7f5dafa9287fa4be6f6d4966a9c5e80
parent bca51e79
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -2834,10 +2834,6 @@ void acl_disconnect_after_role_switch(uint16_t conn_handle,
  if (p_acl == nullptr) {
    LOG_ERROR("Sending disconnect for unknown acl:%hu PLEASE FIX", conn_handle);
    GetLegacyHciInterface().Disconnect(conn_handle, reason);
    if (bluetooth::shim::is_gd_acl_enabled() &&
        btm_sco_removed(conn_handle, HCI_ERR_CONN_CAUSE_LOCAL_HOST))
      LOG_ERROR(
          "Assuming this was a SCO connection and short circuiting disconnect");
    return;
  }