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
1 changed files with 1 additions and 1 deletions

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