Commit acbfb38e authored by aligungr's avatar aligungr

RLS developments

parent dbac9b2a
......@@ -199,9 +199,6 @@ void RlsControlTask::handleUplinkDataDelivery(int cellId, int psi, OctetString &
void RlsControlTask::onAckControlTimerExpired()
{
if (m_pduMap.empty())
return;
int64_t current = utils::CurrentTimeMillis();
std::vector<rls::PduInfo> transmissionFailures;
......@@ -215,9 +212,12 @@ void RlsControlTask::onAckControlTimerExpired()
m_pduMap.clear();
auto *w = new NwUeRlsToRls(NwUeRlsToRls::TRANSMISSION_FAILURE);
w->pduList = std::move(transmissionFailures);
m_mainTask->push(w);
if (!transmissionFailures.empty())
{
auto *w = new NwUeRlsToRls(NwUeRlsToRls::TRANSMISSION_FAILURE);
w->pduList = std::move(transmissionFailures);
m_mainTask->push(w);
}
}
void RlsControlTask::onAckSendTimerExpired()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment