mirror of
https://github.com/espressif/openthread.git
synced 2026-08-27 04:19:54 +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->mLinkFailures = 0;
|
||||
|
||||
child->mDataRequest = true;
|
||||
if (!mSrcMatchEnabled || child->mQueuedIndirectMessageCnt > 0)
|
||||
{
|
||||
child->mDataRequest = true;
|
||||
}
|
||||
|
||||
mScheduleTransmissionTask.Post();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user