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

Commit 237c216c authored by Treehugger Robot's avatar Treehugger Robot
Browse files

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

Change-Id: Ib7efc8975fc72ce05e016fa1a99cac16866b5aaa
parents 88015169 2958f5c4
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();