Do not remove child from table due to ack failures (#754)

This commit makes a change in `MeshForwarder` class so that a child
is not removed from neighbor table if we see ack failures. The time
out process will ensure that the child is removed if it's not
responsive.
This commit is contained in:
Abtin Keshavarzian
2016-10-05 12:57:45 -07:00
committed by Jonathan Hui
parent 462ee0da0a
commit 883794a829
2 changed files with 0 additions and 8 deletions
-7
View File
@@ -1197,13 +1197,6 @@ void MeshForwarder::HandleSentFrame(Mac::Frame &aFrame, ThreadError aError)
mMle.RemoveNeighbor(*neighbor);
}
}
else
{
if (neighbor->mLinkFailures >= Mle::kFailedChildTransmissions)
{
mMle.RemoveNeighbor(*neighbor);
}
}
break;
-1
View File
@@ -46,7 +46,6 @@ enum
{
kMaxChildren = OPENTHREAD_CONFIG_MAX_CHILDREN,
kMaxChildKeepAliveAttempts = 4, ///< Maximum keep alive attempts before attempting to reattach to a new Parent
kFailedChildTransmissions = 4, ///< FAILED_CHILD_TRANSMISSIONS
};
/**