3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-26 09:32:34 +01: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)
return false;
if (msg_info.ocvc != scan_info.ocvc)
return false;
/* We don't check the PMKIDs since these might actually be different */
if (msg_info.group_management_cipher !=