ran_a_decode_cipher_mode_reject(): use gsm0808_get_cause()

Change-Id: I56dd920b931e769ba4d268b09700fe3c9fca4fc6
This commit is contained in:
Vadim Yanitskiy 2021-02-05 20:14:19 +01:00
parent 566ce11df5
commit 33144f146a
1 changed files with 1 additions and 1 deletions

View File

@ -225,7 +225,7 @@ static int ran_a_decode_cipher_mode_reject(struct ran_dec *ran_dec, struct msgb
.msg_name = "BSSMAP Ciphering Mode Reject",
};
rc = gsm0808_get_cipher_reject_cause(tp);
rc = gsm0808_get_cause(tp);
if (rc < 0) {
LOG_RAN_A_DEC_MSG(LOGL_ERROR, "failed to extract Cause\n");
ran_dec_msg.cipher_mode_reject.bssap_cause = GSM0808_CAUSE_EQUIPMENT_FAILURE;