mirror of https://github.com/ARMmbed/mbed-os.git
Fix not processing all advertising reports if one is filtered out
filtering out individual reports instead of allpull/6932/head
parent
f4b7f32793
commit
de41355c5c
|
@ -1180,8 +1180,8 @@ void GenericGap::on_advertising_report(const pal::GapAdvertisingReportEvent& e)
|
||||||
advertising.address_type == pal::connection_peer_address_type_t::RANDOM_ADDRESS &&
|
advertising.address_type == pal::connection_peer_address_type_t::RANDOM_ADDRESS &&
|
||||||
is_random_private_resolvable_address(advertising.address.data())
|
is_random_private_resolvable_address(advertising.address.data())
|
||||||
) {
|
) {
|
||||||
// Filter it out
|
// Filter it out
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
// note 1-to-1 conversion between connection_peer_address_type_t and
|
// note 1-to-1 conversion between connection_peer_address_type_t and
|
||||||
|
|
Loading…
Reference in New Issue