Prevent timing advance update to be sent without payload

This commit is contained in:
Xenofon Foukas
2016-03-16 13:40:46 +00:00
parent c77fb6479e
commit 7ab320d923
@@ -264,7 +264,7 @@ void apply_ue_spec_scheduling_decisions(mid_t mod_id,
ta_update = (ta_len > 0) ? ue_sched_ctl->ta_update : 0;
// If there is nothing to schedule, just leave
if ((sdu_length_total + ta_len) <= 0) {
if ((sdu_length_total) <= 0) {
return;
}