mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-03 10:30:58 +02:00
fix(esp_wifi): Fix some compilation issues in examples
This commit is contained in:
Submodule components/esp_wifi/lib updated: c34ffa6fcd...04117765f0
@@ -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);
|
||||
|
@@ -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) {
|
||||
|
Reference in New Issue
Block a user