mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
bugfix(wifi): fix incomplete phy initialization due to absence of bb clocks at coexistence scenarios
This commit is contained in:
@@ -301,6 +301,7 @@ void esp_phy_enable(esp_phy_modem_t modem)
|
||||
phy_update_wifi_mac_time(false, s_phy_rf_en_ts);
|
||||
#endif
|
||||
esp_phy_common_clock_enable();
|
||||
phy_module_enable();
|
||||
if (s_is_phy_calibrated == false) {
|
||||
esp_phy_load_cal_and_init();
|
||||
s_is_phy_calibrated = true;
|
||||
@@ -343,6 +344,7 @@ void esp_phy_enable(esp_phy_modem_t modem)
|
||||
phy_ant_clr_update_flag();
|
||||
}
|
||||
|
||||
phy_module_disable();
|
||||
}
|
||||
phy_set_modem_flag(modem);
|
||||
#if !CONFIG_IDF_TARGET_ESP32 && !CONFIG_ESP_PHY_DISABLE_PLL_TRACK
|
||||
|
||||
Reference in New Issue
Block a user