mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +01:00
eapol: don't enforce PMKID on 1/4 if require_handshake is false
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.
This commit is contained in:
parent
0f3b2ae180
commit
183a7a18a9
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user