From b892836b3df720098fab7d81df708b68567a12db Mon Sep 17 00:00:00 2001 From: Marco Miozzo Date: Thu, 2 Jun 2011 16:20:09 +0200 Subject: [PATCH] PfFfMacScheduler::DoSchedUlTriggerReq fix bug m_flowStatsDl instead of m_flowStatsUl --- src/lte/model/pf-ff-mac-scheduler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lte/model/pf-ff-mac-scheduler.cc b/src/lte/model/pf-ff-mac-scheduler.cc index 3cd1889fa..95bc42816 100644 --- a/src/lte/model/pf-ff-mac-scheduler.cc +++ b/src/lte/model/pf-ff-mac-scheduler.cc @@ -833,7 +833,7 @@ PfFfMacScheduler::DoSchedUlTriggerReq (const struct FfMacSchedSapProvider::Sched // Update global UE stats // update UEs stats - for (itStats = m_flowStatsDl.begin (); itStats != m_flowStatsDl.end (); itStats++) + for (itStats = m_flowStatsUl.begin (); itStats != m_flowStatsUl.end (); itStats++) { (*itStats).second.totalBytesTransmitted += (*itStats).second.lastTtiBytesTrasmitted; // update average throughput (see eq. 12.3 of Sec 12.3.1.2 of LTE – The UMTS Long Term Evolution, Ed Wiley)