esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2

esp_wifi: sync peripheral device reg base
This commit is contained in:
liuning
2022-08-01 17:58:53 +08:00
committed by muhaidong
parent 268718b7b4
commit 2c8f83ec72
3 changed files with 4 additions and 2 deletions

View File

@ -775,6 +775,8 @@ wifi_osi_funcs_t g_wifi_osi_funcs = {
._wifi_apb80m_release = wifi_apb80m_release_wrapper,
._phy_disable = esp_phy_disable,
._phy_enable = esp_phy_enable,
._phy_common_clock_enable = esp_phy_common_clock_enable,
._phy_common_clock_disable = esp_phy_common_clock_disable,
._phy_update_country_info = esp_phy_update_country_info,
._read_mac = esp_read_mac,
._timer_arm = timer_arm_wrapper,

View File

@ -77,7 +77,7 @@ typedef struct {
void (* _wifi_apb80m_release)(void);
void (* _phy_disable)(void);
void (* _phy_enable)(void);
#if CONFIG_IDF_TARGET_ESP32
#if CONFIG_IDF_TARGET_ESP32 || CONFIG_IDF_TARGET_ESP32S2
void (* _phy_common_clock_enable)(void);
void (* _phy_common_clock_disable)(void);
#endif