]> git.ipfire.org Git - thirdparty/hostap.git/commit
Clear EAPOL authWhile and heldWhile values when port is disabled
authorJouni Malinen <j@w1.fi>
Sat, 31 Dec 2011 11:42:23 +0000 (13:42 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 31 Dec 2011 11:42:23 +0000 (13:42 +0200)
commitd033694ac571eadc934911767d03bbe1a34b3cb0
tree6f0392f8479338e9914f03ac1927bb0cfaf7e96c
parent5fd9fb2772dd0292c4dcaa5bca0e5aecedfcff7d
Clear EAPOL authWhile and heldWhile values when port is disabled

IEEE Std 802.1X-2004 does not clear authWhile and heldWhile in this
case, but doing so allows the timer tick to be stopped more quickly when
the port is not enabled. Since these variables are used only within HELD
and RECEIVE states, clearing them on initialization does not change
actual state machine behavior. This reduces some unnecessary operations
in port disabled state and cleans up the wpa_supplicant debug log after
disconnection.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/eapol_supp/eapol_supp_sm.c