Change in osmo-ttcn3-hacks[master]: RLCMAC_EncDEc.cc: Use copied structure as other parts of the function

2020-05-01 Thread laforge
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 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Reviewer: laforge 
Gerrit-MessageType: merged


Change in osmo-ttcn3-hacks[master]: RLCMAC_EncDEc.cc: Use copied structure as other parts of the function

2020-05-01 Thread fixeria
fixeria has posted comments on 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
..


Patch Set 1: Code-Review+2


--
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 
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria 
Gerrit-Comment-Date: Fri, 01 May 2020 07:15:39 +
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment


Change in osmo-ttcn3-hacks[master]: RLCMAC_EncDEc.cc: Use copied structure as other parts of the function

2020-04-30 Thread pespin
pespin has uploaded this change for review. ( 
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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks 
refs/changes/89/17989/1

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 
Gerrit-MessageType: newchange