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

Commit bf0994f4 authored by Tobias Melin's avatar Tobias Melin Committed by Android Git Automerger
Browse files

am c31ab4dc: Added check if the device address is random

* commit 'c31ab4dc':
  Added check if the device address is random
parents f4a776a3 c31ab4dc
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1126,7 +1126,8 @@ static void btgattc_handle_event(uint16_t event, char* p_param)
                // Check if RPA offloading is supported, otherwise, do not start
                // background connection, since it will not connect after address
                // changes
                if (BTM_BLE_IS_RESOLVE_BDA(p_cb->bd_addr.address))
                if ((p_cb->addr_type == BLE_ADDR_RANDOM)
                        && BTM_BLE_IS_RESOLVE_BDA(p_cb->bd_addr.address))
                {
                    tBTM_BLE_VSC_CB vnd_capabilities;
                    BTM_BleGetVendorCapabilities(&vnd_capabilities);