From 6c8aef053fdc8881dfa24ae19914c14579c36879 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Fri, 19 Jan 2018 09:21:19 -0800 Subject: [PATCH] [mle] do not delete the ParentInfo settings (#2494) --- src/core/thread/mle.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/thread/mle.cpp b/src/core/thread/mle.cpp index 51646132a..c58debd57 100644 --- a/src/core/thread/mle.cpp +++ b/src/core/thread/mle.cpp @@ -1699,7 +1699,6 @@ otError Mle::SendChildIdRequest(void) // attach to a better partition, invalidating old parent state (especially when in kStateRestored) ensures // that GetNeighbor() returns mParentCandidate when processing the Child ID Response. mParent.SetState(Neighbor::kStateInvalid); - otPlatSettingsDelete(&GetInstance(), Settings::kKeyParentInfo, -1); } }