mirror of
https://github.com/espressif/openthread.git
synced 2026-10-07 00:07:42 +00:00
Only send empty Data Frame if radio source match is disabled. (#1160)
This commit is contained in:
@@ -1923,7 +1923,10 @@ void MeshForwarder::HandleDataRequest(const Mac::Address &aMacSource, const Thre
|
|||||||
child->mLastHeard = Timer::GetNow();
|
child->mLastHeard = Timer::GetNow();
|
||||||
child->mLinkFailures = 0;
|
child->mLinkFailures = 0;
|
||||||
|
|
||||||
child->mDataRequest = true;
|
if (!mSrcMatchEnabled || child->mQueuedIndirectMessageCnt > 0)
|
||||||
|
{
|
||||||
|
child->mDataRequest = true;
|
||||||
|
}
|
||||||
|
|
||||||
mScheduleTransmissionTask.Post();
|
mScheduleTransmissionTask.Post();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user