diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index c34ffa6fcd..04117765f0 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit c34ffa6fcd67211c0350b5f687c7498c7fb64963 +Subproject commit 04117765f0e67a2933d263a727bd4afdb610629f diff --git a/components/esp_wifi/wifi_apps/roaming_app/src/roaming_app.c b/components/esp_wifi/wifi_apps/roaming_app/src/roaming_app.c index 20dcc08366..9f2d37261b 100644 --- a/components/esp_wifi/wifi_apps/roaming_app/src/roaming_app.c +++ b/components/esp_wifi/wifi_apps/roaming_app/src/roaming_app.c @@ -373,13 +373,13 @@ static void roaming_app_neighbor_report_recv_handler(void* arg, esp_event_base_t wifi_event_neighbor_report_t *neighbor_report_event = (wifi_event_neighbor_report_t*)event_data; ESP_LOGD(ROAMING_TAG, "Received cb for Neighbor Report Request"); - uint8_t *pos = (uint8_t *)neighbor_report_event->report; - if (!pos) { + uint8_t *pos = (uint8_t *)neighbor_report_event->n_report; + uint8_t report_len = neighbor_report_event->report_len; + if (!report_len) { ESP_LOGE(ROAMING_TAG, "Neighbor report is empty"); return; } - uint8_t report_len = neighbor_report_event->report_len; /* dump report info */ ESP_LOGD(ROAMING_TAG, "rrm: neighbor report len=%d", report_len); ESP_LOG_BUFFER_HEXDUMP(ROAMING_TAG, pos, report_len, ESP_LOG_DEBUG); diff --git a/examples/wifi/ftm/main/ftm_main.c b/examples/wifi/ftm/main/ftm_main.c index de6444b0f6..9f6b1c0ee2 100644 --- a/examples/wifi/ftm/main/ftm_main.c +++ b/examples/wifi/ftm/main/ftm_main.c @@ -571,7 +571,6 @@ static int wifi_cmd_ftm(int argc, char **argv) wifi_ftm_initiator_cfg_t ftmi_cfg = { .frm_count = 32, .burst_period = 2, - .use_get_report_api = true, }; if (nerrors != 0) {