mirror of https://github.com/ARMmbed/mbed-os.git
fix whitelist generation (set correct address type)
parent
06106297a4
commit
a2c9781682
|
@ -603,7 +603,7 @@ public:
|
||||||
sizeof(BLEProtocol::AddressBytes_t)
|
sizeof(BLEProtocol::AddressBytes_t)
|
||||||
);
|
);
|
||||||
|
|
||||||
if (flags->peer_address_is_public) {
|
if (identity->identity_address_is_public) {
|
||||||
whitelist->addresses[whitelist->size].type = BLEProtocol::AddressType::PUBLIC;
|
whitelist->addresses[whitelist->size].type = BLEProtocol::AddressType::PUBLIC;
|
||||||
} else {
|
} else {
|
||||||
whitelist->addresses[whitelist->size].type = BLEProtocol::AddressType::RANDOM_STATIC;
|
whitelist->addresses[whitelist->size].type = BLEProtocol::AddressType::RANDOM_STATIC;
|
||||||
|
|
Loading…
Reference in New Issue