laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17989 )

Change subject: RLCMAC_EncDEc.cc: Use copied structure as other parts of the 
function
......................................................................

RLCMAC_EncDEc.cc: Use copied structure as other parts of the function

Change-Id: Iffe45b3d220c0f95f1fdb54e1b90f0a0cef88ee3
---
M library/RLCMAC_EncDec.cc
1 file changed, 3 insertions(+), 3 deletions(-)

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



diff --git a/library/RLCMAC_EncDec.cc b/library/RLCMAC_EncDec.cc
index 88138c6..f5564d8 100644
--- a/library/RLCMAC_EncDec.cc
+++ b/library/RLCMAC_EncDec.cc
@@ -1078,13 +1078,13 @@

        switch (in.mac__hdr().header__type()) {
        case EgprsHeaderType::RLCMAC__HDR__TYPE__1:
-               enc__RlcmacUlEgprsDataHeader_type1(si.mac__hdr(), ttcn_buffer);
+               enc__RlcmacUlEgprsDataHeader_type1(in.mac__hdr(), ttcn_buffer);
                break;
        case EgprsHeaderType::RLCMAC__HDR__TYPE__2:
-               enc__RlcmacUlEgprsDataHeader_type2(si.mac__hdr(), ttcn_buffer);
+               enc__RlcmacUlEgprsDataHeader_type2(in.mac__hdr(), ttcn_buffer);
                break;
        case EgprsHeaderType::RLCMAC__HDR__TYPE__3:
-               enc__RlcmacUlEgprsDataHeader_type3(si.mac__hdr(), ttcn_buffer);
+               enc__RlcmacUlEgprsDataHeader_type3(in.mac__hdr(), ttcn_buffer);
        default:
                break; /* TODO: error */
        }

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/17989
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Iffe45b3d220c0f95f1fdb54e1b90f0a0cef88ee3
Gerrit-Change-Number: 17989
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pes...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilira...@gmail.com>
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-MessageType: merged

Reply via email to