esp_wifi: clear phy calibrated flag when phy pd memory deinit

This commit is contained in:
muhaidong 2022-06-28 15:03:11 +08:00
parent 827837dce3
commit 3ed30a515f

View File

@ -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;
}