From 9dacf0b35bee54585bc9b29755824487d9262bba Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Mon, 26 Jul 2021 18:04:40 +0200 Subject: [PATCH] Remove duplicate call to gprs_rlcmac_lost_rep Function is already called by gprs_rlcmac_received_lost(), so next call following it will be sum=0 and return EINVAL. Change-Id: I015ba16d18fdd6e2441ec3c256b5ac88771d7a8b --- src/tbf_dl.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tbf_dl.cpp b/src/tbf_dl.cpp index 2154ed64..e76ea8c2 100644 --- a/src/tbf_dl.cpp +++ b/src/tbf_dl.cpp @@ -1266,7 +1266,6 @@ int gprs_rlcmac_dl_tbf::abort() /* report all outstanding packets as lost */ gprs_rlcmac_received_lost(this, 0, lost); - gprs_rlcmac_lost_rep(this); /* TODO: Reschedule all LLC frames starting with the one that is * (partly) encoded in chunk 1 of block V(A). (optional) */