aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/wpa_common.h
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-04-19 13:28:35 (GMT)
committerJouni Malinen <j@w1.fi>2015-04-22 19:05:11 (GMT)
commitae7a42bde24f13d2a1324538713c50ca3afc9581 (patch)
tree78d2f85a5b8186c82fdaf14486894515858f1ae5 /src/common/wpa_common.h
parentc9bf7b66234eafc07db6fda9cfc26e0c151e417e (diff)
downloadhostap-ae7a42bde24f13d2a1324538713c50ca3afc9581.zip
hostap-ae7a42bde24f13d2a1324538713c50ca3afc9581.tar.gz
hostap-ae7a42bde24f13d2a1324538713c50ca3afc9581.tar.bz2
FT: Check FT, MD, and Timeout Interval length in the parser
All the existing users of these elements were already validating the element length. However, it is clearer to validate this already at the parser for extra layer of protection for any future changes. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'src/common/wpa_common.h')
-rw-r--r--src/common/wpa_common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/common/wpa_common.h b/src/common/wpa_common.h
index cb047d0..29c3503 100644
--- a/src/common/wpa_common.h
+++ b/src/common/wpa_common.h
@@ -306,7 +306,6 @@ struct wpa_igtk_kde {
} STRUCT_PACKED;
#endif /* CONFIG_IEEE80211W */
-#ifdef CONFIG_IEEE80211R
struct rsn_mdie {
u8 mobility_domain[MOBILITY_DOMAIN_ID_LEN];
u8 ft_capab;
@@ -334,7 +333,6 @@ struct rsn_rdie {
le16 status_code;
} STRUCT_PACKED;
-#endif /* CONFIG_IEEE80211R */
#ifdef _MSC_VER
#pragma pack(pop)