From 25784ba87a3e1c1426a36bc47d31c368ebd99736 Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Tue, 9 Apr 2019 12:09:56 +0800 Subject: [PATCH] =?UTF-8?q?wifi:=20don=E2=80=99t=20disable=20event=20handl?= =?UTF-8?q?ing=20for=20SoftAP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Events are needed to initialise the tcpip_adapter and start the DHCP server --- components/esp_wifi/test/test_wifi.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/components/esp_wifi/test/test_wifi.c b/components/esp_wifi/test/test_wifi.c index 7b2c4e4b3f..08996d9de3 100644 --- a/components/esp_wifi/test/test_wifi.c +++ b/components/esp_wifi/test/test_wifi.c @@ -142,15 +142,9 @@ TEST_CASE("wifi stop and deinit","[wifi]") TEST_IGNORE_MESSAGE("this test case is ignored due to the critical memory leak of tcpip_adapter and event_loop."); } -static esp_err_t event_send_dummy(system_event_t *event) -{ - return ESP_OK; -} - static void start_wifi_as_softap(void) { wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT(); - cfg.event_handler = &event_send_dummy; cfg.nvs_enable = false; wifi_config_t w_config = {