]> git.ipfire.org Git - thirdparty/hostap.git/commit
Allow SNonce update after sending EAPOL-Key 3/4 if 1/4 was retransmitted
authorJouni Malinen <jouni@qca.qualcomm.com>
Mon, 2 Jan 2012 20:36:11 +0000 (22:36 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 2 Jan 2012 20:36:11 +0000 (22:36 +0200)
commit68921e24b2ef867d8b4d57192ddf1a3075c57edf
tree427fe8ef530459a6fbf0cdcdbea18677429d5758
parentd567479153b9db89213ecd9c42188abfc37c79ba
Allow SNonce update after sending EAPOL-Key 3/4 if 1/4 was retransmitted

Some supplicant implementations (e.g., Windows XP WZC) update SNonce for
each EAPOL-Key 2/4. This breaks the workaround on accepting any of the
pending requests, so allow the SNonce to be updated even if we have
already sent out EAPOL-Key 3/4.

While the issue was made less likely to occur when the retransmit
timeout for the initial EAPOL-Key msg 1/4 was increased to 1000 ms,
this fixes the problem even if that timeout is not long enough.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/wpa_auth.c
src/ap/wpa_auth_i.h