mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-21 03:32:42 +01:00
eapol: In GTK step 2 of 2, secure bit is always 1
This commit is contained in:
parent
0293b62f2e
commit
a227d0b00f
@ -467,7 +467,7 @@ bool eapol_verify_gtk_2_of_2(const struct eapol_key *ek, bool is_wpa)
|
||||
if (!ek->key_mic)
|
||||
return false;
|
||||
|
||||
if (ek->secure != !is_wpa)
|
||||
if (!ek->secure)
|
||||
return false;
|
||||
|
||||
if (ek->encrypted_key_data)
|
||||
|
Loading…
Reference in New Issue
Block a user