Commit e4b20889 authored by Aleksey's avatar Aleksey

[IOT-3280] Save doxm.owned when changing

Save doxm.owned flag to the persistet storage
when it changing at the state transition.

Change-Id: I870a2a166322efe2fec97c421d8f9c638f67234b
Signed-off-by: Aleksey's avatarAleksey Volkov <a.volkov@samsung.com>
parent 7725f5bd
......@@ -2108,8 +2108,10 @@ OCStackResult SetDoxmIsOwned(const bool isowned)
if (gDoxm)
{
gDoxm->owned = isowned;
VERIFY_SUCCESS(TAG, UpdatePersistentStorage(gDoxm), ERROR);
return OC_STACK_OK;
}
exit:
return OC_STACK_ERROR;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment