3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-10-05 19:08:52 +02:00

handshake: Also check OCVC bit

This commit is contained in:
Denis Kenzior 2021-09-17 08:22:40 -05:00
parent 171b2b90b8
commit 77d2d79ac2

View File

@ -837,6 +837,9 @@ bool handshake_util_ap_ie_matches(const uint8_t *msg_ie,
if (msg_info.extended_key_id != scan_info.extended_key_id) if (msg_info.extended_key_id != scan_info.extended_key_id)
return false; return false;
if (msg_info.ocvc != scan_info.ocvc)
return false;
/* We don't check the PMKIDs since these might actually be different */ /* We don't check the PMKIDs since these might actually be different */
if (msg_info.group_management_cipher != if (msg_info.group_management_cipher !=