diff --git a/src/lte/model/lte-rlc-um.cc b/src/lte/model/lte-rlc-um.cc index 353f3e7de..794571591 100644 --- a/src/lte/model/lte-rlc-um.cc +++ b/src/lte/model/lte-rlc-um.cc @@ -485,11 +485,11 @@ LteRlcUm::DoReceivePdu (LteMacSapUser::ReceivePduParameters rxPduParams) { NS_LOG_LOGIC ("SN is outside the reordering window"); - ReassembleOutsideWindow (); - m_vrUh = seqNumber + 1; NS_LOG_LOGIC ("New VR(UH) = " << m_vrUh); + ReassembleOutsideWindow (); + if ( ! IsInsideReorderingWindow (m_vrUr) ) { m_vrUr = m_vrUh - m_windowSize;