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

Commit 380ab557 authored by Rahul Arya's avatar Rahul Arya Committed by Automerger Merge Worker
Browse files

Merge "Use the correct error code when disconnecting" am: 63df44db

parents 58667feb 63df44db
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -58,8 +58,7 @@ static bool acl_ble_common_connection(
  if (!l2cble_conn_comp(handle, role, address_with_type.bda,
                        address_with_type.type, conn_interval, conn_latency,
                        conn_timeout)) {
    btm_sec_disconnect(handle, HCI_ERR_NO_CONNECTION,
                       "stack::acl::ble_acl fail");
    btm_sec_disconnect(handle, HCI_ERR_PEER_USER, "stack::acl::ble_acl fail");
    LOG_WARN("Unable to complete l2cap connection");
    return false;
  }