mirror of
https://github.com/espressif/openthread.git
synced 2026-10-01 13:27:42 +00:00
Use fast poll after sending an MLE Data Request. (#1551)
This commit is contained in:
@@ -1605,6 +1605,11 @@ ThreadError Mle::SendDataRequest(const Ip6::Address &aDestination, const uint8_t
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
SuccessOrExit(error = SendMessage(*message, aDestination));
|
SuccessOrExit(error = SendMessage(*message, aDestination));
|
||||||
|
|
||||||
|
if ((mDeviceMode & ModeTlv::kModeRxOnWhenIdle) == 0)
|
||||||
|
{
|
||||||
|
mNetif.GetMeshForwarder().GetDataPollManager().HandleResponseExpected();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
otLogInfoMle(GetInstance(), "Sent Data Request");
|
otLogInfoMle(GetInstance(), "Sent Data Request");
|
||||||
|
|||||||
Reference in New Issue
Block a user