Use fast poll after sending an MLE Data Request. (#1551)

This commit is contained in:
Jonathan Hui
2017-04-04 09:21:16 -07:00
committed by GitHub
parent af775eca9a
commit 4dc2b8b0d5
+5
View File
@@ -1605,6 +1605,11 @@ ThreadError Mle::SendDataRequest(const Ip6::Address &aDestination, const uint8_t
else
{
SuccessOrExit(error = SendMessage(*message, aDestination));
if ((mDeviceMode & ModeTlv::kModeRxOnWhenIdle) == 0)
{
mNetif.GetMeshForwarder().GetDataPollManager().HandleResponseExpected();
}
}
otLogInfoMle(GetInstance(), "Sent Data Request");