File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
connectivity/FEATURE_BLE/source/generic Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -2402,16 +2402,16 @@ void Gap::signal_advertising_report(
24022402 );
24032403 } else {
24042404 /* check if there already is a RPA like that in the list of other pending reports */
2405- PendingAdvertisingReportEvent *found_pending_event = _reports_pending_address_resolution.find (
2405+ PendingAdvertisingReportEvent *duplicate_pending_event = _reports_pending_address_resolution.find (
24062406 [&event](PendingAdvertisingReportEvent& pending_event){
24072407 return (pending_event.get_pending_event ().getPeerAddress () == event.getPeerAddress ());
24082408 }
24092409 );
24102410
2411- ble_error_t ret = BLE_ERROR_NOT_FOUND ;
2411+ ble_error_t ret = BLE_ERROR_NONE ;
24122412
24132413 /* if there is already an item with the same address pending don't kick off resolution*/
2414- if (!found_pending_event ) {
2414+ if (!duplicate_pending_event ) {
24152415 ret = _address_registry.queue_resolve_address (event.getPeerAddress ());
24162416 }
24172417
You can’t perform that action at this time.
0 commit comments