TNC: Send EAP-Failure on TNC failure

On PEAP(TNC), hostapd integrated RADIUS server doesn't return
EAP-Failure when "Recommendation = none". So, EAP data retransmittion
occurs.

My co-worker "Ryuji Ohba" made below patch.
This commit is contained in:
Masashi Honma 2009-03-13 17:41:58 +02:00 committed by Jouni Malinen
parent b7d3a95afc
commit 0d308bc074

View file

@ -500,7 +500,7 @@ static void eap_tnc_process(struct eap_sm *sm, void *priv,
static Boolean eap_tnc_isDone(struct eap_sm *sm, void *priv)
{
struct eap_tnc_data *data = priv;
return data->state == DONE;
return data->state == DONE || data->state == FAIL;
}