Fix: avoid conflict between pre-scd thread and ru thread.

This commit is contained in:
naoi
2018-02-15 18:05:40 +09:00
parent 4c0a8f88f9
commit 897d3c49df
+3 -1
View File
@@ -551,7 +551,9 @@ rlc_am_mac_status_indication (
rlc->last_absolute_subframe_status_indication = PROTOCOL_CTXT_TIME_MILLI_SECONDS(ctxt_pP);
rlc->nb_bytes_requested_by_mac = tb_sizeP;
if (tb_sizeP > 0) {
rlc->nb_bytes_requested_by_mac = tb_sizeP;
}
status_resp.buffer_occupancy_in_bytes = rlc_am_get_buffer_occupancy_in_bytes(ctxt_pP, rlc);