Max has uploaded this change for review. ( https://gerrit.osmocom.org/12664


Change subject: Sync with libosmocore function rename
......................................................................

Sync with libosmocore function rename

Change-Id: I6fece7bbbea84962daff885e54f0bc0108c8d0a5
---
M openbsc/src/libmsc/gsm_04_80.c
1 file changed, 7 insertions(+), 7 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/openbsc refs/changes/64/12664/1

diff --git a/openbsc/src/libmsc/gsm_04_80.c b/openbsc/src/libmsc/gsm_04_80.c
index dc9ae23..1c08d99 100644
--- a/openbsc/src/libmsc/gsm_04_80.c
+++ b/openbsc/src/libmsc/gsm_04_80.c
@@ -67,29 +67,29 @@
        msgb_put(msg, response_len);

        /* Then wrap it as an Octet String */
-       msgb_wrap_with_TL(msg, ASN1_OCTET_STRING_TAG);
+       msgb_push_tl(msg, ASN1_OCTET_STRING_TAG);

        /* Pre-pend the DCS octet string */
        msgb_push_TLV1(msg, ASN1_OCTET_STRING_TAG, 0x0F);

        /* Then wrap these as a Sequence */
-       msgb_wrap_with_TL(msg, GSM_0480_SEQUENCE_TAG);
+       msgb_push_tl(msg, GSM_0480_SEQUENCE_TAG);

        /* Pre-pend the operation code */
        msgb_push_TLV1(msg, GSM0480_OPERATION_CODE,
                        GSM0480_OP_CODE_PROCESS_USS_REQ);

        /* Wrap the operation code and IA5 string as a sequence */
-       msgb_wrap_with_TL(msg, GSM_0480_SEQUENCE_TAG);
+       msgb_push_tl(msg, GSM_0480_SEQUENCE_TAG);

        /* Pre-pend the invoke ID */
        msgb_push_TLV1(msg, GSM0480_COMPIDTAG_INVOKE_ID, req->invoke_id);

        /* Wrap this up as a Return Result component */
-       msgb_wrap_with_TL(msg, GSM0480_CTYPE_RETURN_RESULT);
+       msgb_push_tl(msg, GSM0480_CTYPE_RETURN_RESULT);

        /* Wrap the component in a Facility message */
-       msgb_wrap_with_TL(msg, GSM0480_IE_FACILITY);
+       msgb_push_tl(msg, GSM0480_IE_FACILITY);

        /* And finally pre-pend the L3 header */
        gh = (struct gsm48_hdr *) msgb_push(msg, sizeof(*gh));
@@ -115,10 +115,10 @@
        msgb_push_TLV1(msg, GSM0480_COMPIDTAG_INVOKE_ID, req->invoke_id);

        /* Wrap this up as a Reject component */
-       msgb_wrap_with_TL(msg, GSM0480_CTYPE_REJECT);
+       msgb_push_tl(msg, GSM0480_CTYPE_REJECT);

        /* Wrap the component in a Facility message */
-       msgb_wrap_with_TL(msg, GSM0480_IE_FACILITY);
+       msgb_push_tl(msg, GSM0480_IE_FACILITY);

        /* And finally pre-pend the L3 header */
        gh = (struct gsm48_hdr *) msgb_push(msg, sizeof(*gh));

--
To view, visit https://gerrit.osmocom.org/12664
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: openbsc
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6fece7bbbea84962daff885e54f0bc0108c8d0a5
Gerrit-Change-Number: 12664
Gerrit-PatchSet: 1
Gerrit-Owner: Max <msur...@sysmocom.de>

Reply via email to