From be8383bc5a0bdb1cf2c7d3d12414d50d69fd0b70 Mon Sep 17 00:00:00 2001 From: Eduardo Montoya Date: Tue, 28 Dec 2021 21:57:49 +0100 Subject: [PATCH] [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. --- src/core/backbone_router/bbr_manager.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/backbone_router/bbr_manager.cpp b/src/core/backbone_router/bbr_manager.cpp index 3372cb00b..00e1f10ba 100644 --- a/src/core/backbone_router/bbr_manager.cpp +++ b/src/core/backbone_router/bbr_manager.cpp @@ -224,7 +224,6 @@ void Manager::HandleMulticastListenerRegistration(const Coap::Message &aMessage, uint32_t origTimeout = timeout; timeout = OT_MIN(timeout, static_cast(Mle::kMlrTimeoutMax)); - timeout = OT_MAX(timeout, static_cast(Mle::kMlrTimeoutMin)); if (timeout != origTimeout) {