summaryrefslogtreecommitdiffstats
path: root/include/osmocom/gsm
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2018-02-03 21:16:45 +0100
committerHarald Welte <laforge@gnumonks.org>2018-02-03 21:17:43 +0100
commitf1076ed75a0047858336c42e8f10fc0a91d86ad4 (patch)
tree9e095f40dc59250407f28e73a0c0270ad434c89d /include/osmocom/gsm
parent143aed7fa61adac6db7c7b628351cacd7a7f0cf6 (diff)
gsm48_hdr_msg_type(): SS is in the same group as MM/CC
Change-Id: I1ddadeacced9650885f454b81f3f0df531ea1e5d
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r--include/osmocom/gsm/protocol/gsm_04_08.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocom/gsm/protocol/gsm_04_08.h b/include/osmocom/gsm/protocol/gsm_04_08.h
index 4fb8a7f0..c785d9f1 100644
--- a/include/osmocom/gsm/protocol/gsm_04_08.h
+++ b/include/osmocom/gsm/protocol/gsm_04_08.h
@@ -1017,8 +1017,8 @@ static inline uint8_t gsm48_hdr_msg_type_r99(const struct gsm48_hdr *hdr)
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: