From 202c4d7566ed7ae96a6bc6d161db95dd7c7dd09c Mon Sep 17 00:00:00 2001 From: Francisco Date: Mon, 1 Mar 2021 22:34:38 +0000 Subject: [PATCH] remove uses of method .clear() of stack timers --- lib/src/upper/pdcp_entity_lte.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/upper/pdcp_entity_lte.cc b/lib/src/upper/pdcp_entity_lte.cc index 4f91e7fb2..aed750903 100644 --- a/lib/src/upper/pdcp_entity_lte.cc +++ b/lib/src/upper/pdcp_entity_lte.cc @@ -810,7 +810,7 @@ bool undelivered_sdus_queue::clear_sdu(uint32_t sn) } count--; bytes -= sdus[sn].sdu->N_bytes; - sdus[sn].discard_timer.clear(); + sdus[sn].discard_timer.stop(); sdus[sn].sdu.reset(); // Find next FMS, update_fms(); @@ -823,7 +823,7 @@ void undelivered_sdus_queue::clear() bytes = 0; fms = 0; for (uint32_t sn = 0; sn < capacity; sn++) { - sdus[sn].discard_timer.clear(); + sdus[sn].discard_timer.stop(); sdus[sn].sdu.reset(); } }