Only send empty Data Frame if radio source match is disabled. (#1160)

This commit is contained in:
Jonathan Hui
2017-01-16 20:19:10 -08:00
committed by GitHub
parent c0d4d5aa06
commit 866bf3fb3a
+4 -1
View File
@@ -1923,7 +1923,10 @@ void MeshForwarder::HandleDataRequest(const Mac::Address &aMacSource, const Thre
child->mLastHeard = Timer::GetNow();
child->mLinkFailures = 0;
child->mDataRequest = true;
if (!mSrcMatchEnabled || child->mQueuedIndirectMessageCnt > 0)
{
child->mDataRequest = true;
}
mScheduleTransmissionTask.Post();