diff --git a/src/eap_server/eap_server_aka.c b/src/eap_server/eap_server_aka.c index 72753fc57..628b0c87c 100644 --- a/src/eap_server/eap_server_aka.c +++ b/src/eap_server/eap_server_aka.c @@ -641,14 +641,6 @@ static void eap_aka_determine_identity(struct eap_sm *sm, data->reauth = eap_sim_db_get_reauth_entry( sm->eap_sim_db_priv, username); os_free(username); - if (data->reauth && - (data->reauth->reauth_id[0] == - EAP_AKA_PRIME_REAUTH_ID_PREFIX) != - (data->eap_method == EAP_TYPE_AKA_PRIME)) { - wpa_printf(MSG_DEBUG, "EAP-AKA: Reauth data " - "was for different AKA version"); - data->reauth = NULL; - } if (data->reauth == NULL) { wpa_printf(MSG_DEBUG, "EAP-AKA: Unknown reauth " "identity - request full auth identity");