|
|
@ -810,7 +810,7 @@ bool undelivered_sdus_queue::clear_sdu(uint32_t sn)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
count--;
|
|
|
|
count--;
|
|
|
|
bytes -= sdus[sn].sdu->N_bytes;
|
|
|
|
bytes -= sdus[sn].sdu->N_bytes;
|
|
|
|
sdus[sn].discard_timer.clear();
|
|
|
|
sdus[sn].discard_timer.stop();
|
|
|
|
sdus[sn].sdu.reset();
|
|
|
|
sdus[sn].sdu.reset();
|
|
|
|
// Find next FMS,
|
|
|
|
// Find next FMS,
|
|
|
|
update_fms();
|
|
|
|
update_fms();
|
|
|
@ -823,7 +823,7 @@ void undelivered_sdus_queue::clear()
|
|
|
|
bytes = 0;
|
|
|
|
bytes = 0;
|
|
|
|
fms = 0;
|
|
|
|
fms = 0;
|
|
|
|
for (uint32_t sn = 0; sn < capacity; sn++) {
|
|
|
|
for (uint32_t sn = 0; sn < capacity; sn++) {
|
|
|
|
sdus[sn].discard_timer.clear();
|
|
|
|
sdus[sn].discard_timer.stop();
|
|
|
|
sdus[sn].sdu.reset();
|
|
|
|
sdus[sn].sdu.reset();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|