Skip to content

Commit

Permalink
esp_wifi: fix fail to scan after recv disassoc/deauth for esp32s2
Browse files Browse the repository at this point in the history
  • Loading branch information
Espressif-liuuuu authored and espressif-bot committed Aug 6, 2022
1 parent 74abb42 commit 73817d8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions components/esp_wifi/esp32s2/esp_adapter.c
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,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,
Expand Down
2 changes: 1 addition & 1 deletion components/esp_wifi/include/esp_private/wifi_os_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73817d8

Please sign in to comment.