From 77af1ab97b46548551d49c15ed4f6a036ba7ce33 Mon Sep 17 00:00:00 2001 From: Cedric Roux Date: Tue, 30 Jul 2024 17:37:17 +0200 Subject: [PATCH] nr rlc: fix decode_poll_byte() The returned value was 1024 times too big. --- openair2/LAYER2/nr_rlc/asn1_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openair2/LAYER2/nr_rlc/asn1_utils.c b/openair2/LAYER2/nr_rlc/asn1_utils.c index 999cb79a52..fd64d89481 100644 --- a/openair2/LAYER2/nr_rlc/asn1_utils.c +++ b/openair2/LAYER2/nr_rlc/asn1_utils.c @@ -135,7 +135,7 @@ int decode_poll_byte(int v) } if (tab[v] == -1) return -1; - return tab[v] * 1024; + return tab[v]; } int decode_max_retx_threshold(int v)