FT/FILS handle their own PMK derivation but rekeys still require using the 4-way handshake. There is some ambiguity in the spec whether or not the PMKID needs to be included in message 1/4 and it appears that when rekeying after FT/FILS hostapd does not include a PMKID. --- src/eapol.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/eapol.c b/src/eapol.c index 9543bced..8dce9a68 100644 --- a/src/eapol.c +++ b/src/eapol.c @@ -1147,7 +1147,8 @@ static void eapol_handle_ptk_1_of_4(struct eapol_sm *sm, * send no PMKID KDE. */ if (!sm->eap_exchanged && !sm->handshake->wpa_ie && - rsn_info.num_pmkids) { + rsn_info.num_pmkids && + sm->require_handshake) { bool found = false; int i; -- 2.31.1