]> git.ipfire.org Git - thirdparty/hostap.git/commit
SME: Clear portValid on starting authentication to fix FILS
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 21 Feb 2017 10:49:16 +0000 (12:49 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 21 Feb 2017 10:51:48 +0000 (12:51 +0200)
commit6aea02e579503adca9f4000b063a83ec4338724d
treee742abea49fe7c31791551eff81a613fb8a938a2
parentba9774bd76fa84106fa0865015df621489c62fd8
SME: Clear portValid on starting authentication to fix FILS

The ft_completed for FILS authentication case in
wpa_supplicant_event_assoc() depends on something having cleared
portValid so that setting it TRUE ends up authorizing the port. This
clearing part did not happen when using FILS authentication during a
reassociation within an ESS. Fix this by clearing portValid in
sme_send_authentication() just before the keys are cleared (i.e., the
old connection would not be usable anyway).

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/sme.c