FT: Fix FT IE parser to not count TIE as protected IE

This commit is contained in:
Jouni Malinen 2011-07-16 11:05:28 +03:00
parent c284b46141
commit c3c828ebfd

View file

@ -464,8 +464,6 @@ static int wpa_ft_parse_ies(const u8 *ies, size_t ies_len,
prot_ie_count--;
if (parse->ftie)
prot_ie_count--;
if (parse->tie)
prot_ie_count--;
if (prot_ie_count < 0) {
wpa_printf(MSG_DEBUG, "FT: Some required IEs not included in "
"the protected IE count");