fix(openthread): fix openthread radio spinel deinit

This commit is contained in:
Xu Si Yu
2024-12-30 14:29:41 +08:00
parent 17ec36e3e0
commit a4843338e8
9 changed files with 19 additions and 4 deletions

View File

@@ -156,6 +156,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);
}