mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 10:40:47 +03:00
fix(esp_wifi): Use correct variable for neighbour report
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user