diff --git a/src/wifiscan.cpp b/src/wifiscan.cpp index f1367b83..85fdf6a1 100644 --- a/src/wifiscan.cpp +++ b/src/wifiscan.cpp @@ -57,13 +57,13 @@ void wifi_sniffer_init(void) { wificfg.nvs_enable = 0; // we don't need any wifi settings from NVRAM wificfg.wifi_task_core_id = 0; // we want wifi task running on core 0 - wifi_promiscuous_filter_t filter = { - .filter_mask = WIFI_PROMIS_FILTER_MASK_MGMT}; // only MGMT frames + //wifi_promiscuous_filter_t filter = { + // .filter_mask = WIFI_PROMIS_FILTER_MASK_MGMT}; // only MGMT frames // .filter_mask = WIFI_PROMIS_FILTER_MASK_ALL}; // we use all frames - // wifi_promiscuous_filter_t filter = {.filter_mask = - // WIFI_PROMIS_FILTER_MASK_MGMT | - // WIFI_PROMIS_FILTER_MASK_DATA}; + wifi_promiscuous_filter_t filter = {.filter_mask = + WIFI_PROMIS_FILTER_MASK_MGMT | + WIFI_PROMIS_FILTER_MASK_DATA}; ESP_ERROR_CHECK(esp_wifi_init(&wificfg)); // configure Wifi with cfg ESP_ERROR_CHECK(