ran_a_make_handover_request(): allow no encryption
Fixes: coverity CID 198454 Change-Id: Ifb83ab2a8b6148b457224687ffada2dff4c3204f
This commit is contained in:
parent
4eca09fdb1
commit
4deb8c9ea0
|
@ -1068,7 +1068,8 @@ struct msgb *ran_a_make_handover_request(struct osmo_fsm_inst *log_fi, const str
|
|||
|
||||
.speech_version_used = n->speech_version_used,
|
||||
|
||||
.chosen_encryption_algorithm_serving = n->geran.chosen_encryption->alg_id,
|
||||
.chosen_encryption_algorithm_serving =
|
||||
n->geran.chosen_encryption ? n->geran.chosen_encryption->alg_id : 0,
|
||||
|
||||
.old_bss_to_new_bss_info_raw = n->old_bss_to_new_bss_info_raw,
|
||||
.old_bss_to_new_bss_info_raw_len = n->old_bss_to_new_bss_info_raw_len,
|
||||
|
|
Loading…
Reference in New Issue