diff --git a/src/core/thread/mesh_forwarder.cpp b/src/core/thread/mesh_forwarder.cpp index 7e35596af..8d1a8816d 100644 --- a/src/core/thread/mesh_forwarder.cpp +++ b/src/core/thread/mesh_forwarder.cpp @@ -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; diff --git a/src/core/thread/mle_constants.hpp b/src/core/thread/mle_constants.hpp index 851b2c097..54bb3072e 100644 --- a/src/core/thread/mle_constants.hpp +++ b/src/core/thread/mle_constants.hpp @@ -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 }; /**