From 3ed30a515f0488aef9017028299c8c503afb1be6 Mon Sep 17 00:00:00 2001 From: muhaidong Date: Tue, 28 Jun 2022 15:03:11 +0800 Subject: [PATCH] esp_wifi: clear phy calibrated flag when phy pd memory deinit --- components/esp_phy/src/phy_init.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/esp_phy/src/phy_init.c b/components/esp_phy/src/phy_init.c index b6318645df..d499799c98 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -330,6 +330,7 @@ void esp_phy_pd_mem_deinit(void) s_phy_backup_mem_ref--; if (s_phy_backup_mem_ref == 0) { + s_is_phy_calibrated = false; free(s_phy_digital_regs_mem); s_phy_digital_regs_mem = NULL; }