[PATCH] 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:18:01 UTC 2018


Review at  https://gerrit.osmocom.org/6266

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(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/66/6266/1

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: newchange
Gerrit-Change-Id: I1ddadeacced9650885f454b81f3f0df531ea1e5d
Gerrit-PatchSet: 1
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list