laforge has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/14879


Change subject: gsm480_tx_release_compl(): Fix ordering of location/cause in 
CAUSE_IE
......................................................................

gsm480_tx_release_compl(): Fix ordering of location/cause in CAUSE_IE

Change-Id: Ie01ffc3fe2752d82a7d2b3d213d6012ef1c9b4ec
---
M src/host/layer23/src/mobile/gsm480_ss.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/79/14879/1

diff --git a/src/host/layer23/src/mobile/gsm480_ss.c 
b/src/host/layer23/src/mobile/gsm480_ss.c
index b114aa6..3d9cef1 100644
--- a/src/host/layer23/src/mobile/gsm480_ss.c
+++ b/src/host/layer23/src/mobile/gsm480_ss.c
@@ -401,8 +401,8 @@
                uint8_t *tlv = msgb_put(msg, 4);
                tlv[0] = GSM48_IE_CAUSE;
                tlv[1] = 2;
-               tlv[2] = 0x80 | cause;
-               tlv[3] = 0x80 | GSM48_CAUSE_LOC_USER;
+               tlv[2] = 0x80 | GSM48_CAUSE_LOC_USER;
+               tlv[3] = 0x80 | cause;
        }
        return gsm480_to_mm(msg, trans, GSM48_MMSS_DATA_REQ);
 }

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

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ie01ffc3fe2752d82a7d2b3d213d6012ef1c9b4ec
Gerrit-Change-Number: 14879
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <[email protected]>
Gerrit-MessageType: newchange

Reply via email to