mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
Revert "EAP server: Force identity request after INITIALIZE for passthrough"
This reverts commit 204dd3f420
.
start_reauth was not supposed to be used in this way and setting it
to TRUE in INITIALIZE breaks internal EAP server.
Signed-hostap: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
8c3ba0784e
commit
4a9e26b6e7
@ -169,13 +169,6 @@ SM_STATE(EAP, INITIALIZE)
|
||||
sm->num_rounds = 0;
|
||||
sm->method_pending = METHOD_PENDING_NONE;
|
||||
|
||||
/*
|
||||
* Start reauthentication with identity request even though we know the
|
||||
* previously used identity. This is needed to get reauthentication
|
||||
* started properly.
|
||||
*/
|
||||
sm->start_reauth = TRUE;
|
||||
|
||||
wpa_msg(sm->msg_ctx, MSG_INFO, WPA_EVENT_EAP_STARTED
|
||||
MACSTR, MAC2STR(sm->peer_addr));
|
||||
}
|
||||
@ -596,6 +589,13 @@ SM_STATE(EAP, SUCCESS2)
|
||||
}
|
||||
|
||||
sm->eap_if.eapSuccess = TRUE;
|
||||
|
||||
/*
|
||||
* Start reauthentication with identity request even though we know the
|
||||
* previously used identity. This is needed to get reauthentication
|
||||
* started properly.
|
||||
*/
|
||||
sm->start_reauth = TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user