Bug:
177382279
Tag: #refactor
Test: gd/cert/run
Change-Id: Ic6aa1f96f7f5dafa9287fa4be6f6d4966a9c5e80
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;
}