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

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

gd: Store the address when using resolving privacy policy

This address may change with updated, but seed the
initial address properly.

Bug: 171568335
Test: CtsVerifier
Test: gd/cert/run --host
Test: atest --host bluetooth_test_gd

Tag: #refactor
Change-Id: I85dab865ec9c7aa083cab3d6594d6eca4df925ac
parent 3f402a5c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ void LeAddressManager::SetPrivacyPolicyForInitiatorAddress(
    } break;
    case AddressPolicy::USE_NON_RESOLVABLE_ADDRESS:
    case AddressPolicy::USE_RESOLVABLE_ADDRESS:
      le_address_ = fixed_address;
      rotation_irk_ = rotation_irk;
      minimum_rotation_time_ = minimum_rotation_time;
      maximum_rotation_time_ = maximum_rotation_time;