~indicator-network-developers/wpasupplicant/trunk

Viewing all changes in revision 14452.

  • Committer: Jouni Malinen
  • Author(s): Avraham Stern
  • Date: 2019-04-15 22:53:21 UTC
  • Revision ID: git-v1:fe01cd0067e8046c744201f2d55dde3619fc7102
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>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: