diff --git a/srsue/src/stack/upper/pcsc_usim.cc b/srsue/src/stack/upper/pcsc_usim.cc index dfe1ada609d..cc355c91317 100644 --- a/srsue/src/stack/upper/pcsc_usim.cc +++ b/srsue/src/stack/upper/pcsc_usim.cc @@ -218,7 +218,7 @@ auth_result_t pcsc_usim::generate_authentication_response_5g(uint8_t* rand, security_generate_k_seaf(k_ausf, serving_network_name, k_seaf); logger.debug(k_seaf, 32, "K SEAF"); // Generate K_amf - security_generate_k_amf(k_ausf, imsi_str.c_str(), abba, abba_len, k_amf); + security_generate_k_amf(k_seaf, imsi_str.c_str(), abba, abba_len, k_amf); logger.debug(k_amf, 32, "K AMF"); ret = AUTH_OK;