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/.

laforge gerrit-no-reply at lists.osmocom.org
Tue May 5 19:36:14 UTC 2020


laforge has submitted this change. ( 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(-)

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



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200505/d38f9ece/attachment.htm>


More information about the gerrit-log mailing list