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:
parent
b7d3a95afc
commit
0d308bc074
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue