[posix-app] close the settings file when reset (#3958)

Currently, the Setting file won't be closed after ot-ncp is reset.
Once ot-ncp receives a RESET command from wpantund, it will reopen
the Setting file and create a new file Id.

This commit closes the Setting file when ot-ncp is reset.
This commit is contained in:
Zhanglong Xia
2019-07-08 21:21:14 -07:00
committed by Jonathan Hui
parent b983974aec
commit 8de5fbeae7
11 changed files with 54 additions and 2 deletions
+5
View File
@@ -487,6 +487,11 @@ void otPlatSettingsInit(otInstance *aInstance)
OT_UNUSED_VARIABLE(aInstance);
}
void otPlatSettingsDeinit(otInstance *aInstance)
{
OT_UNUSED_VARIABLE(aInstance);
}
otError otPlatSettingsBeginChange(otInstance *aInstance)
{
OT_UNUSED_VARIABLE(aInstance);