EAP-FAST: Include Tunnel PAC request only after EAP authentication
This commit is contained in:
parent
581a8cde77
commit
39452b4deb
1 changed files with 3 additions and 1 deletions
|
@ -1194,7 +1194,9 @@ static int eap_fast_process_decrypted(struct eap_sm *sm,
|
||||||
}
|
}
|
||||||
|
|
||||||
if (data->current_pac == NULL && data->provisioning &&
|
if (data->current_pac == NULL && data->provisioning &&
|
||||||
!data->anon_provisioning && !tlv.pac) {
|
!data->anon_provisioning && !tlv.pac &&
|
||||||
|
(tlv.iresult == EAP_TLV_RESULT_SUCCESS ||
|
||||||
|
tlv.result == EAP_TLV_RESULT_SUCCESS)) {
|
||||||
/*
|
/*
|
||||||
* Need to request Tunnel PAC when using authenticated
|
* Need to request Tunnel PAC when using authenticated
|
||||||
* provisioning.
|
* provisioning.
|
||||||
|
|
Loading…
Reference in a new issue