aboutsummaryrefslogtreecommitdiffstats
path: root/src/gsm
diff options
context:
space:
mode:
authorAlexander Chemeris <Alexander.Chemeris@gmail.com>2020-05-13 22:38:08 +0300
committerlaforge <laforge@osmocom.org>2020-05-14 09:02:39 +0000
commit2ac8f91ea6212f089a0aa46102c5b803c9e8b6ae (patch)
treec5d2879c2ee4523eb7c3afbaacdd19fae38df167 /src/gsm
parentecfb0d68d79e8f121acfddf2ecb06a0955e46604 (diff)
gsm0808_utils: Add gsm0808_get_cipher_reject_cause() back with a deprecation notice.
In Change-Id Idf2b99e9ef014eba26e3d4f0f38c2714d3a0520a we accidentially removed this symbol, let's re-introduce it. Change-Id: I9fbcbcc6619ef0c63d3682fc86adc80045baab02
Diffstat (limited to 'src/gsm')
-rw-r--r--src/gsm/gsm0808_utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gsm/gsm0808_utils.c b/src/gsm/gsm0808_utils.c
index 6f3c07a4..6bf771f8 100644
--- a/src/gsm/gsm0808_utils.c
+++ b/src/gsm/gsm0808_utils.c
@@ -1563,6 +1563,11 @@ int gsm48_mr_cfg_from_gsm0808_sc_cfg(struct gsm48_multi_rate_conf *cfg,
return 0;
}
+int gsm0808_get_cipher_reject_cause(const struct tlv_parsed *tp)
+{
+ return gsm0808_get_cause(tp);
+}
+
/*! Print a human readable name of the cell identifier to the char buffer.
* This is useful both for struct gsm0808_cell_id and struct gsm0808_cell_id_list2.
* See also gsm0808_cell_id_name() and gsm0808_cell_id_list_name().