Skip to content

Commit de41355

Browse files
Fix not processing all advertising reports if one is filtered out
filtering out individual reports instead of all
1 parent f4b7f32 commit de41355

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/FEATURE_BLE/source/generic/GenericGap.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1180,8 +1180,8 @@ void GenericGap::on_advertising_report(const pal::GapAdvertisingReportEvent& e)
11801180
advertising.address_type == pal::connection_peer_address_type_t::RANDOM_ADDRESS &&
11811181
is_random_private_resolvable_address(advertising.address.data())
11821182
) {
1183-
// Filter it out
1184-
return;
1183+
// Filter it out
1184+
continue;
11851185
}
11861186

11871187
// note 1-to-1 conversion between connection_peer_address_type_t and

0 commit comments

Comments
 (0)