From 52c78344c1d9ff465cf46fa52af829b38ce93f41 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 58ea6b9a24..f8077bbf73 100644 --- a/components/esp_phy/src/phy_init.c +++ b/components/esp_phy/src/phy_init.c @@ -320,6 +320,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; }