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

Commit 8dacc59c authored by bidsharma's avatar bidsharma Committed by Myles Watson
Browse files

GD: Set non resolvable random address fix

Just the fix from the linked CL.

Bug: 230123996
Test: cert/run LeAclManagerTest
Tag: #refactor

from Id Ia01fa4c09ea2826662b3d7afde26e0447a9a8600

Change-Id: I25dfe4b9ef09de7e7a9b16a1a723f0a92af9e247
parent 9a35057e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -130,6 +130,7 @@ void LeAddressManager::SetPrivacyPolicyForInitiatorAddressForTest(
      minimum_rotation_time_ = minimum_rotation_time;
      maximum_rotation_time_ = maximum_rotation_time;
      address_rotation_alarm_ = std::make_unique<os::Alarm>(handler_);
      set_random_address();
      break;
    case AddressPolicy::POLICY_NOT_SET:
      LOG_ALWAYS_FATAL("invalid parameters");