]> git.ipfire.org Git - thirdparty/hostap.git/commit
SME: Fix IBSS setup after shared key/FT/FILS association
authorJouni Malinen <j@w1.fi>
Sun, 11 Dec 2016 16:23:13 +0000 (18:23 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Dec 2016 16:23:13 +0000 (18:23 +0200)
commita1836de64b379ea6eb1a50498a803571a74181f6
tree6d4b483cf729a22b96fe12b088421629b317ab3a
parentf49c852b5e387ce137bcf16c9388130ac3bee58e
SME: Fix IBSS setup after shared key/FT/FILS association

wpa_s->sme.auth_alg could have been left to a previously value other
than WPA_AUTH_ALG_OPEN if IBSS network is used after an association that
used shared key, FT, or FILS authentication algorithm. This could result
in the IBSS setup failing due to incorrect authentication processing
steps.

Fix this by setting wpa_s->sme.auth_alg = WPA_AUTH_ALG_OPEN whenever
starting an IBSS (or mesh, for that matter) network.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wpa_supplicant.c