esp_wifi: fix a WiFi receiving bug

Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
This commit is contained in:
liu zhifu
2019-12-13 10:46:23 +08:00
parent 65cfbbda52
commit 0631d185bd
5 changed files with 75 additions and 5 deletions

View File

@@ -561,6 +561,8 @@ wifi_osi_funcs_t g_wifi_osi_funcs = {
._dport_access_stall_other_cpu_end_wrap = esp_dport_access_stall_other_cpu_end_wrap,
._phy_rf_deinit = esp_phy_rf_deinit,
._phy_load_cal_and_init = esp_phy_load_cal_and_init,
._phy_common_clock_enable = esp_phy_common_clock_enable,
._phy_common_clock_disable = esp_phy_common_clock_disable,
._read_mac = esp_read_mac,
._timer_arm = timer_arm_wrapper,
._timer_disarm = timer_disarm_wrapper,