]> git.ipfire.org Git - thirdparty/hostap.git/commit
FILS: Fix PTK rekeying
authorJouni Malinen <jouni@codeaurora.org>
Wed, 17 Apr 2019 19:52:23 +0000 (22:52 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 18 Apr 2019 18:55:39 +0000 (21:55 +0300)
commita40bd06e9b8e359fb1a75e06d350c31bf74d3b05
tree819d6d5d1d5adf118b1c1562e768480b1cde1efb
parentc8931afe2455895b0b0d4addc94d0a3691ec9ab5
FILS: Fix PTK rekeying

The PMK and PMKID information from FILS ERP and FILS PMKSA caching needs
to be stored within struct wpa_state_machine for PTK to work. Without
this, PTK derivation would fail and attempt to go through rekeying would
result in disconnection. Furthermore, wpa_rekey_ptk() timer needs to be
started at the completion of FILS association since the place where it
was done for non-FILS cases at the end of 4-way handshake is not reached
when FILS authentication is used.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/ap/ieee802_11.c
src/ap/ieee802_1x.c
src/ap/wpa_auth.c
src/ap/wpa_auth.h