diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2019-08-19 15:41:33 +0200 |
---|---|---|
committer | Neels Hofmeyr <neels@hofmeyr.de> | 2019-12-25 18:43:49 +0100 |
commit | 602d1d9044110198cfd26ab720052cb6bbe34994 (patch) | |
tree | 086485ac1befa386176a9f8162c377587e834654 | |
parent | 4a61212827c8d638f20fc3fb6002d6844fef1dc3 (diff) |
vlr_auth_fsm: on SAI use the GSUP provided GMM
Change-Id: I9af515dc52834b7c57c42fc3a76ee2c682734e2a
-rw-r--r-- | src/libvlr/vlr_auth_fsm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libvlr/vlr_auth_fsm.c b/src/libvlr/vlr_auth_fsm.c index dcdf58468..8f8783709 100644 --- a/src/libvlr/vlr_auth_fsm.c +++ b/src/libvlr/vlr_auth_fsm.c @@ -341,9 +341,9 @@ static void auth_fsm_wait_ai(struct osmo_fsm_inst *fi, uint32_t event, /* We are in what corresponds to the * Wait_For_Authentication_Sets state of TS 23.018 OAS_VLR */ if ((event == VLR_AUTH_E_HLR_SAI_ACK && !gsup->num_auth_vectors) - || (event == VLR_AUTH_E_HLR_SAI_NACK && - gsup->cause != GMM_CAUSE_IMSI_UNKNOWN) - || (event == VLR_AUTH_E_HLR_SAI_ABORT)) { + || (event == VLR_AUTH_E_HLR_SAI_NACK && + gsup->cause != GMM_CAUSE_IMSI_UNKNOWN) + || (event == VLR_AUTH_E_HLR_SAI_ABORT)) { if (vsub->vlr->cfg.auth_reuse_old_sets_on_error && vlr_subscr_has_auth_tuple(vsub, -1)) { /* To re-use an old tuple, disable the max_reuse_count |