summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Smith <osmith@sysmocom.de>2018-12-20 17:36:45 +0100
committerOliver Smith <osmith@sysmocom.de>2018-12-21 10:47:23 +0100
commite8c3b1bc0b459a94aa490743e8e1320185e48473 (patch)
tree321a7c2b0965cf886bb8d84c07805c636a8c389b
parentbd6d5c10db634c752d25dee037179006d5f87cab (diff)
GSUP: fix missing osmo_gsup_get_err_msg_type()s
Add missing mappings of request to error message types in osmo_gsup_get_error_msg_type(): * PROC_SS_REQUEST * MO_FORWARD_SM_REQUEST * MT_FORWARD_SM_REQUEST * READY_FOR_SM_REQUEST Change-Id: I801a0d6ffe09cfc75b77ab602bd25b3dc40f19c0
-rw-r--r--src/gsm/gsup.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gsm/gsup.c b/src/gsm/gsup.c
index c1c99923..3b31d03c 100644
--- a/src/gsm/gsup.c
+++ b/src/gsm/gsup.c
@@ -108,6 +108,14 @@ int osmo_gsup_get_err_msg_type(enum osmo_gsup_message_type type_in)
return OSMO_GSUP_MSGT_DELETE_DATA_ERROR;
case OSMO_GSUP_MSGT_LOCATION_CANCEL_REQUEST:
return OSMO_GSUP_MSGT_LOCATION_CANCEL_ERROR;
+ case OSMO_GSUP_MSGT_PROC_SS_REQUEST:
+ return OSMO_GSUP_MSGT_PROC_SS_ERROR;
+ case OSMO_GSUP_MSGT_MO_FORWARD_SM_REQUEST:
+ return OSMO_GSUP_MSGT_MO_FORWARD_SM_ERROR;
+ case OSMO_GSUP_MSGT_MT_FORWARD_SM_REQUEST:
+ return OSMO_GSUP_MSGT_MT_FORWARD_SM_ERROR;
+ case OSMO_GSUP_MSGT_READY_FOR_SM_REQUEST:
+ return OSMO_GSUP_MSGT_READY_FOR_SM_ERROR;
default:
return -1;
}