From 57336f2a816b54ec934a3eed99e4a7d3353c2371 Mon Sep 17 00:00:00 2001 From: muhaidong Date: Thu, 10 Apr 2025 21:17:05 +0800 Subject: [PATCH 1/2] fix(phy): fix phy data partition restoring default fails issue Closes https://github.com/espressif/esp-idf/issues/14698 --- components/esp_phy/src/phy_init.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index 47b507ba4c..1b14f359ea 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -657,6 +657,13 @@ const esp_phy_init_data_t* esp_phy_get_init_data(void) assert(memcmp(init_data_store + init_data_store_length - PHY_INIT_MAGIC_LEN, PHY_INIT_MAGIC, PHY_INIT_MAGIC_LEN) == 0); + err = esp_partition_erase_range(partition, 0, partition->size); + if (err != ESP_OK) { + ESP_LOGE(TAG, "failed to erase partition (0x%x)!", err); + free(init_data_store); + return NULL; + } + // write default data err = esp_partition_write(partition, 0, init_data_store, init_data_store_length); if (err != ESP_OK) { From 3a6d14649a5b0b257ec9a3b31f816c0aa6f2342f Mon Sep 17 00:00:00 2001 From: muhaidong Date: Thu, 20 Mar 2025 14:09:08 +0800 Subject: [PATCH 2/2] fix(wifi): fix association timeout timer issue for wep shared auth --- components/esp_wifi/lib | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/esp_wifi/lib b/components/esp_wifi/lib index 6e443922a5..325456e4b9 160000 --- a/components/esp_wifi/lib +++ b/components/esp_wifi/lib @@ -1 +1 @@ -Subproject commit 6e443922a5579ca22e7520ae48d2e084df05ed05 +Subproject commit 325456e4b92196ea79eae455e69b4b037069f320