Send EAPOL-Start on HELD->CONNECTING transition
Previously, only CONNECTING->CONNECTING case ended up sending out an EAPOL-Start frame to avoid sending the unnecessary initial EAPOL-Start. However, this optimization prevented new EAPOL-Start from being initiated when leaving the HELD state. Allow that case to trigger immediate EAPOL-Start transmission to speed up connection. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
471c810bc1
commit
c8a15753eb
1 changed files with 2 additions and 1 deletions
|
@ -244,7 +244,8 @@ SM_STATE(SUPP_PAE, DISCONNECTED)
|
|||
|
||||
SM_STATE(SUPP_PAE, CONNECTING)
|
||||
{
|
||||
int send_start = sm->SUPP_PAE_state == SUPP_PAE_CONNECTING;
|
||||
int send_start = sm->SUPP_PAE_state == SUPP_PAE_CONNECTING ||
|
||||
sm->SUPP_PAE_state == SUPP_PAE_HELD;
|
||||
SM_ENTRY(SUPP_PAE, CONNECTING);
|
||||
|
||||
if (sm->eapTriggerStart)
|
||||
|
|
Loading…
Reference in a new issue