fixed RR scheduler buffer status report bug

This commit is contained in:
Nicola Baldo
2011-11-25 19:45:06 +01:00
parent 07ca164dfc
commit de5ce5145c
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ main (int argc, char *argv[])
Ptr<LenaHelper> lteHelper = CreateObject<LenaHelper> ();
Ptr<EpcHelper> epcHelper = CreateObject<EpcHelper> ();
lteHelper->SetEpcHelper (epcHelper);
//lteHelper->SetSchedulerType("ns3::RrFfMacScheduler");
lteHelper->SetSchedulerType("ns3::RrFfMacScheduler");
ConfigStore inputConfig;
inputConfig.ConfigureDefaults();

View File

@@ -328,7 +328,7 @@ RrFfMacScheduler::DoSchedDlRlcBufferReq (const struct FfMacSchedSapProvider::Sch
// remove old entries of this UE-LC
if (((*it).m_rnti == params.m_rnti)&&((*it).m_logicalChannelIdentity == params.m_logicalChannelIdentity))
{
m_rlcBufferReq.erase (it);
it = m_rlcBufferReq.erase (it);
newLc = false;
}
}