File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF51/source Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1352,7 +1352,9 @@ void nRF5xGap::on_advertising_packet(const ble_gap_evt_adv_report_t &evt) {
1352
1352
if (entry) {
1353
1353
peer_address = entry->peer_identity_address .data ();
1354
1354
peer_addr_type = convert_identity_address (entry->peer_identity_address_type );
1355
- } else if (_central_privacy_configuration.resolution_strategy != CentralPrivacyConfiguration_t::RESOLVE_AND_FORWARD) {
1355
+ } else if (_central_privacy_configuration.resolution_strategy == CentralPrivacyConfiguration_t::RESOLVE_AND_FORWARD ||
1356
+ get_sm ().get_resolving_list ().size () == 0
1357
+ ) {
1356
1358
peer_addr_type = convert_nordic_address (evt.peer_addr .addr_type );
1357
1359
} else {
1358
1360
// filter out the packet.
You can’t perform that action at this time.
0 commit comments