[MERGED] libosmocore[master]: gsm48_hdr_msg_type(): SS is in the same group as MM/CC

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

Harald Welte gerrit-no-reply at lists.osmocom.org
Sat Feb 3 20:29:34 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: gsm48_hdr_msg_type(): SS is in the same group as MM/CC
......................................................................


gsm48_hdr_msg_type(): SS is in the same group as MM/CC

Change-Id: I1ddadeacced9650885f454b81f3f0df531ea1e5d
---
M include/osmocom/gsm/protocol/gsm_04_08.h
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index 4fb8a7f..c785d9f 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -1017,8 +1017,8 @@
 	switch (gsm48_hdr_pdisc(hdr)) {
 	case GSM48_PDISC_MM:
 	case GSM48_PDISC_CC:
-		return hdr->msg_type & 0x3f;
 	case GSM48_PDISC_NC_SS:
+		return hdr->msg_type & 0x3f;
 	case GSM48_PDISC_GROUP_CC:
 	case GSM48_PDISC_BCAST_CC:
 	case GSM48_PDISC_LOC:

-- 
To view, visit https://gerrit.osmocom.org/6266
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I1ddadeacced9650885f454b81f3f0df531ea1e5d
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list