mirror of
https://github.com/espressif/openthread.git
synced 2026-09-18 07:00:08 +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
|
||||
{
|
||||
SuccessOrExit(error = SendMessage(*message, aDestination));
|
||||
|
||||
if ((mDeviceMode & ModeTlv::kModeRxOnWhenIdle) == 0)
|
||||
{
|
||||
mNetif.GetMeshForwarder().GetDataPollManager().HandleResponseExpected();
|
||||
}
|
||||
}
|
||||
|
||||
otLogInfoMle(GetInstance(), "Sent Data Request");
|
||||
|
||||
Reference in New Issue
Block a user