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

Commit 662afa2c authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "gd: Authenticate only if necessary"

parents 41fbd059 0c0c30e4
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -116,7 +116,9 @@ Link* LinkManager::GetLink(const hci::Address device) {
}

void LinkManager::TriggerPairing(Link* link) {
  if (!link->IsAuthenticated()) {
    link->Authenticate();
  }
  link->ReadRemoteVersionInformation();
  link->ReadRemoteSupportedFeatures();
  link->ReadRemoteExtendedFeatures();