--- a/src/lte/model/tdmt-ff-mac-scheduler.cc Wed Apr 30 20:54:05 2014 -0700
+++ b/src/lte/model/tdmt-ff-mac-scheduler.cc Wed Apr 30 21:32:57 2014 -0700
@@ -1511,7 +1511,7 @@
uldci.m_rbLen = rbPerFlow;
bool allocated = false;
NS_LOG_INFO (this << " RB Allocated " << rbAllocated << " rbPerFlow " << rbPerFlow << " flows " << nflows);
- while ((!allocated)&&((rbAllocated + rbPerFlow - 1) < m_cschedCellConfig.m_ulBandwidth) && (rbPerFlow != 0))
+ while ((!allocated)&&((rbAllocated + rbPerFlow - m_cschedCellConfig.m_ulBandwidth) < 1) && (rbPerFlow != 0))
{
// check availability
bool free = true;