3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-21 03:32:42 +01:00

eapol: Fix IGTK key index extraction

This commit is contained in:
Denis Kenzior 2016-12-13 09:25:21 -06:00
parent fea29229f3
commit 221a8f9218

View File

@ -1127,7 +1127,7 @@ static void eapol_handle_ptk_3_of_4(struct eapol_sm *sm,
return;
}
igtk_key_index = util_bit_field(igtk[0], 0, 2);
igtk_key_index = l_get_le16(igtk);;
igtk += 2;
igtk_len -= 2;
} else