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

Commit be79be3c authored by Priti Aghera's avatar Priti Aghera Committed by Prerepa Viswanadham
Browse files

Set random address before connection request

Send Set_Random_Address when privacy is enabled. If Set_Random_Address
is not sent to controller, Connection request will be sent with host
address as all 0's

Bug: 17386986
Change-Id: I59877e52bf76a56696800ff0e75487c633adde3c
parent 0915f945
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -582,7 +582,7 @@ void BTM_BleConfigPrivacy(BOOLEAN enable)
        if (p_cb->privacy)
        {
            /* generate resolvable private address */
            btm_gen_resolvable_private_addr(NULL);
            btm_gen_resolvable_private_addr((void*)btm_gen_resolve_paddr_low);
        }
        else /* if privacy disabled, always use public address */
        {