]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix FILS ERP association event with 4-way HS offload drivers
authorAvraham Stern <avraham.stern@intel.com>
Wed, 3 Apr 2019 10:36:30 +0000 (13:36 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 15 Apr 2019 22:53:21 +0000 (01:53 +0300)
commitfe01cd0067e8046c744201f2d55dde3619fc7102
tree7449d03424129f31314b70faa19600b417eb5848
parent323a51cc01985bdf73168a29a8ef77c446b9df2d
Fix FILS ERP association event with 4-way HS offload drivers

When FILS authentication is used with ERP, no EAPOL frames are expected
after association. However, for drivers that set the
WPA_DRIVER_FLAGS_4WAY_HANDSHAKE_8021X capability flag, the EAP state
machine was not configured correctly and was waiting for EAPOL frames,
which leads to disconnection.

Fix this by reordering the if branches to set the EAPOL/EAP state
machines to success when FILS authentication was already completed.

Signed-off-by: Avraham Stern <avraham.stern@intel.com>
wpa_supplicant/events.c