FT: Fix FT IE parser to not count TIE as protected IE
authorJouni Malinen <j@w1.fi>
Sat, 16 Jul 2011 08:05:28 +0000 (11:05 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 16 Jul 2011 08:05:28 +0000 (11:05 +0300)
src/rsn_supp/wpa_ft.c

index 90f867c..57956d7 100644 (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");