pespin has submitted this change. ( 
https://gerrit.osmocom.org/c/libosmo-gprs/+/34026 )

 (

1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: rlcmac: rx pkt_uk_ack_nack: Use correct field containing UL 
TFI
......................................................................

rlcmac: rx pkt_uk_ack_nack: Use correct field containing UL TFI

Change-Id: If0bbd9989413a550243a6496bce16b6eb04508db
---
M src/rlcmac/rlcmac.c
1 file changed, 12 insertions(+), 2 deletions(-)

Approvals:
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/rlcmac/rlcmac.c b/src/rlcmac/rlcmac.c
index a6d0e71..212b801 100644
--- a/src/rlcmac/rlcmac.c
+++ b/src/rlcmac/rlcmac.c
@@ -701,13 +701,14 @@
 {
        struct gprs_rlcmac_ul_tbf *ul_tbf;
        int rc;
+       const Packet_Uplink_Ack_Nack_t *pkt_ul_ack = 
&dl_block->u.Packet_Uplink_Ack_Nack;

-       ul_tbf = gprs_rlcmac_find_ul_tbf_by_tfi(dl_block->TFI);
+       ul_tbf = gprs_rlcmac_find_ul_tbf_by_tfi(pkt_ul_ack->UPLINK_TFI);
        if (!ul_tbf) {
                LOGRLCMAC(LOGL_INFO, "TS=%u FN=%u Rx Pkt UL ACK/NACK: UL_TBF 
TFI=%u not found\n",
                          rlcmac_prim->l1ctl.pdch_data_ind.ts_nr,
                          rlcmac_prim->l1ctl.pdch_data_ind.fn,
-                         dl_block->TFI);
+                         pkt_ul_ack->UPLINK_TFI);
                return -ENOENT;
        }


--
To view, visit https://gerrit.osmocom.org/c/libosmo-gprs/+/34026
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmo-gprs
Gerrit-Branch: master
Gerrit-Change-Id: If0bbd9989413a550243a6496bce16b6eb04508db
Gerrit-Change-Number: 34026
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to