]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/ap/wpa_auth.c
FT: Fix FTIE generation for 4-way handshake after FT protocol run
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 9 Dec 2015 22:06:06 +0000 (00:06 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 9 Dec 2015 22:14:35 +0000 (00:14 +0200)
commit59e78c2408e65db4b7b965320129ecf15561e884
tree9314efa676854a53d9cdcd9730186b5dc939a848
parentcc02fd3effe2b8caaabc0ca8ea36932858275917
FT: Fix FTIE generation for 4-way handshake after FT protocol run

wpa_insert_pmkid() did not support cases where the original RSN IE
included any PMKIDs. That case can happen when PTK rekeying through
4-way handshake is used after FT protocol run. Such a 4-way handshake
used to fail with wpa_supplicant being unable to build the EAPOL-Key msg
2/4.

Fix this by extending wpa_insert_pmkid() to support removal of the old
PMKIDs, if needed.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
src/ap/wpa_auth.c
src/common/wpa_common.c
src/common/wpa_common.h
src/rsn_supp/wpa.c