Change in libosmocore[master]: rest_octets: fix encoding of 3G Early Classmark Sending Restriction

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Mon May 4 19:04:53 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/18036 )


Change subject: rest_octets: fix encoding of 3G Early Classmark Sending Restriction
......................................................................

rest_octets: fix encoding of 3G Early Classmark Sending Restriction

Change-Id: I6df515a00518fabb3eb8f65054addd3aead14bfe
Relates: OS#3075
---
M src/gsm/gsm48_rest_octets.c
1 file changed, 2 insertions(+), 2 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/36/18036/1

diff --git a/src/gsm/gsm48_rest_octets.c b/src/gsm/gsm48_rest_octets.c
index 518572e..3c1b22a 100644
--- a/src/gsm/gsm48_rest_octets.c
+++ b/src/gsm/gsm48_rest_octets.c
@@ -576,9 +576,9 @@
 	/* 3G Early Classmark Sending Restriction. If H, then controlled by
 	 * early_cm_ctrl above */
 	if (si3->early_cm_restrict_3g)
-		bitvec_set_bit(&bv, L);
-	else
 		bitvec_set_bit(&bv, H);
+	else
+		bitvec_set_bit(&bv, L);
 
 	if (si3->si2quater_indicator) {
 		bitvec_set_bit(&bv, H); /* indicator struct present */

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I6df515a00518fabb3eb8f65054addd3aead14bfe
Gerrit-Change-Number: 18036
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200504/e55ca8bb/attachment.htm>


More information about the gerrit-log mailing list