[mlr] MLR_TIMEOUT_MIN does not apply to MLR.req (#7251)

Thread specification defines `MLR_TIMEOUT_MIN` as the minimum value of
the MLR Timeout in the BBR Dataset, but this does not affect to the
Timeout TLV in the Multicast Registration Request messages.
This commit is contained in:
Eduardo Montoya
2021-12-28 12:57:49 -08:00
committed by GitHub
parent ca6cbba472
commit be8383bc5a
-1
View File
@@ -224,7 +224,6 @@ void Manager::HandleMulticastListenerRegistration(const Coap::Message &aMessage,
uint32_t origTimeout = timeout;
timeout = OT_MIN(timeout, static_cast<uint32_t>(Mle::kMlrTimeoutMax));
timeout = OT_MAX(timeout, static_cast<uint32_t>(Mle::kMlrTimeoutMin));
if (timeout != origTimeout)
{