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

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

Return control flow upon duplicate connection detected

Bug: 265192807
Test: gd/cert/run
Tag: #refactor
Change-Id: I062b9df2e60006ea48460c32d000c40a0c3d059d
parent b0c80d64
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -309,6 +309,7 @@ struct classic_impl : public security::ISecurityManagerListener {
    if (is_classic_link_already_connected(address)) {
      LOG_WARN("already connected: %s", ADDRESS_TO_LOGGABLE_CSTR(address));
      acl_scheduler_->ReportOutgoingAclConnectionFailure();
      return;
    }
    acl_connection_interface_->EnqueueCommand(
        std::move(packet), handler_->BindOnceOn(this, &classic_impl::on_create_connection_status, address));