From f3b4a05848e76940d5a22f273dd5e49c8bb4a4f0 Mon Sep 17 00:00:00 2001 From: Kapil Gupta Date: Thu, 9 Oct 2025 14:57:23 +0530 Subject: [PATCH] fix(esp_wifi): Use correct variable for neighbour report --- examples/wifi/roaming/roaming_11kvr/main/roaming_example.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/wifi/roaming/roaming_11kvr/main/roaming_example.c b/examples/wifi/roaming/roaming_11kvr/main/roaming_example.c index d108cca8fe3..edf06694949 100644 --- a/examples/wifi/roaming/roaming_11kvr/main/roaming_example.c +++ b/examples/wifi/roaming/roaming_11kvr/main/roaming_example.c @@ -325,7 +325,7 @@ static void esp_neighbor_report_recv_handler(void* arg, esp_event_base_t event_b g_neighbor_report_active = false; uint8_t cand_list = 0; wifi_event_neighbor_report_t *neighbor_report_event = (wifi_event_neighbor_report_t*)event_data; - uint8_t *pos = (uint8_t *)neighbor_report_event->n_report; + uint8_t *pos = (uint8_t *)neighbor_report_event->report; char * neighbor_list = NULL; if (!pos) { ESP_LOGE(TAG, "Neighbor report is empty");