mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-19 02:41:14 +00:00
fix(bt): fix btbb may not reinit when coex with wifi
Closes https://github.com/espressif/esp-idf/issues/15841
This commit is contained in:
@@ -1972,6 +1972,7 @@ esp_err_t esp_bt_controller_disable(void)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
esp_phy_disable(PHY_MODEM_BT);
|
esp_phy_disable(PHY_MODEM_BT);
|
||||||
|
s_time_phy_rf_just_enabled = 0;
|
||||||
btdm_controller_status = ESP_BT_CONTROLLER_STATUS_INITED;
|
btdm_controller_status = ESP_BT_CONTROLLER_STATUS_INITED;
|
||||||
esp_unregister_shutdown_handler(bt_shutdown);
|
esp_unregister_shutdown_handler(bt_shutdown);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user