diff --git a/components/esp32/Kconfig b/components/esp32/Kconfig index 0afe5ba0f8..8bbd6d032e 100644 --- a/components/esp32/Kconfig +++ b/components/esp32/Kconfig @@ -113,7 +113,7 @@ config SYSTEM_EVENT_QUEUE_SIZE config SYSTEM_EVENT_TASK_STACK_SIZE int "Event loop task stack size" - default 2048 + default 4096 help Config system event task stack size in different application. diff --git a/components/ethernet/emac_main.c b/components/ethernet/emac_main.c index 9446e8ee35..067d1a8ed7 100644 --- a/components/ethernet/emac_main.c +++ b/components/ethernet/emac_main.c @@ -588,7 +588,7 @@ esp_err_t esp_eth_tx(uint8_t *buf, uint16_t size) if (emac_config.emac_status != EMAC_RUNTIME_START || emac_config.emac_status == EMAC_RUNTIME_NOT_INIT) { ESP_LOGI(TAG, "tx netif close"); ret = ERR_IF; - goto _exit; + return ret; } xSemaphoreTakeRecursive( emac_tx_xMutex, ( TickType_t ) portMAX_DELAY );