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
1 changed files with 7 additions and 7 deletions
|
@ -169,13 +169,6 @@ SM_STATE(EAP, INITIALIZE)
|
||||||
sm->num_rounds = 0;
|
sm->num_rounds = 0;
|
||||||
sm->method_pending = METHOD_PENDING_NONE;
|
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
|
wpa_msg(sm->msg_ctx, MSG_INFO, WPA_EVENT_EAP_STARTED
|
||||||
MACSTR, MAC2STR(sm->peer_addr));
|
MACSTR, MAC2STR(sm->peer_addr));
|
||||||
}
|
}
|
||||||
|
@ -596,6 +589,13 @@ SM_STATE(EAP, SUCCESS2)
|
||||||
}
|
}
|
||||||
|
|
||||||
sm->eap_if.eapSuccess = TRUE;
|
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…
Add table
Reference in a new issue