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

Commit 2958f5c4 authored by Treehugger Robot's avatar Treehugger Robot
Browse files

Merge "gd: Authenticate only if necessary" am: 662afa2c

Change-Id: I594acbaa864f5683f05fc5ab2402a34fbd58839d
parents 416c2e71 662afa2c
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();