File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
features/FEATURE_BLE/source/generic Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1094,9 +1094,9 @@ void GenericGap::on_advertising_report(const pal::GapAdvertisingReportEvent& e)
1094
1094
pal::GapAdvertisingReportEvent::advertising_t advertising = e[i];
1095
1095
1096
1096
// Check if the address hasn't been resolved
1097
- if (_central_privacy_configuration.resolution_strategy == ResolutionStrategy ::RESOLVE_AND_FILTER)
1097
+ if (_privacy_enabled && _central_privacy_configuration.resolution_strategy == CentralPrivacyConfiguration_t ::RESOLVE_AND_FILTER)
1098
1098
{
1099
- if (advertising.address_type == connection_peer_address_type_t ::RANDOM_ADDRESS)
1099
+ if (advertising.address_type == pal:: connection_peer_address_type_t ::RANDOM_ADDRESS)
1100
1100
{
1101
1101
// Filter it out
1102
1102
continue ;
You can’t perform that action at this time.
0 commit comments