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

Commit 092d8735 authored by Mudumba Ananth's avatar Mudumba Ananth Committed by Andre Eisenbach
Browse files

Cannot resolve RPA from a DUMO device when being a peripheral device

Stack needs to allow DUMO devie to use RPA per 4.1 spec requirement.

Bug: 16560957
Change-Id: I8af5cade6dbd2da04aa05a4aa66663a767678d00
parent 55753001
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -295,7 +295,7 @@ static BOOLEAN btm_ble_match_random_bda(UINT16 rec_index)

        BTM_TRACE_DEBUG("sec_flags = %02x device_type = %d", p_dev_rec->sec_flags, p_dev_rec->device_type);

        if ((p_dev_rec->device_type == BT_DEVICE_TYPE_BLE) &&
        if ((p_dev_rec->device_type & BT_DEVICE_TYPE_BLE) &&
            (p_dev_rec->ble.key_type & BTM_LE_KEY_PID))
        {
            /* generate X = E irk(R0, R1, R2) and R is random address 3 LSO */