lte: Check the RandomAccess status of an RNTI to whom the preamble was assigned
Thanks to Menglei Zhang Fixes #285 see MR !556
This commit is contained in:
@@ -996,7 +996,7 @@ LteEnbMac::DoAllocateNcRaPreamble (uint16_t rnti)
|
||||
*/
|
||||
if ((it != m_allocatedNcRaPreambleMap.end ()) && (it->second.expiryTime < Simulator::Now ()))
|
||||
{
|
||||
if (!m_cmacSapUser->IsRandomAccessCompleted (rnti))
|
||||
if (!m_cmacSapUser->IsRandomAccessCompleted (it->second.rnti))
|
||||
{
|
||||
//random access of the UE is not completed,
|
||||
//check other preambles
|
||||
|
||||
Reference in New Issue
Block a user