Fix not processing all advertising reports if one is filtered out

filtering out individual reports instead of all
pull/6932/head
paul-szczepanek-arm 2018-05-23 14:24:54 +01:00
parent f4b7f32793
commit de41355c5c
1 changed files with 2 additions and 2 deletions

View File

@ -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