[coap] fix response timeout for NON messages (#4372)

This commit is contained in:
Kamil Sroka
2019-12-03 00:58:18 +08:00
committed by Jonathan Hui
parent e5db31162d
commit 2233ae150e
+1 -1
View File
@@ -669,7 +669,7 @@ CoapMetadata::CoapMetadata(bool aConfirmable,
else
{
// Set overall response timeout.
mNextTimerShot = TimerMilli::GetNow() + kMaxTransmitWait;
mNextTimerShot = TimerMilli::GetNow() + Time::SecToMsec(kMaxTransmitWait);
}
mAcknowledged = false;