fix(openthread): fix openthread radio spinel deinit

This commit is contained in:
Xu Si Yu
2025-01-06 10:29:40 +08:00
parent aaab96050a
commit f5f07d4962
9 changed files with 19 additions and 4 deletions
@@ -188,6 +188,8 @@ esp_err_t esp_openthread_rcp_init(void)
void esp_openthread_radio_deinit(void)
{
s_radio.Deinit();
s_spinel_driver.Deinit();
s_spinel_interface.GetSpinelInterface().Disable();
esp_openthread_platform_workflow_unregister(radiospinel_workflow);
}