From: Jouni Malinen Date: Sat, 22 Oct 2016 19:46:48 +0000 (+0300) Subject: FILS: Include wpa_insert_pmkid() in non-FT builds X-Git-Tag: hostap_2_7~2207 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14de9e31c4e1c5ddf5900fb474fdda7c14245800;p=thirdparty%2Fhostap.git FILS: Include wpa_insert_pmkid() in non-FT builds This function is needed for FILS as well as FT. Signed-off-by: Jouni Malinen --- diff --git a/src/common/wpa_common.c b/src/common/wpa_common.c index 02a2a518b..a87210efb 100644 --- a/src/common/wpa_common.c +++ b/src/common/wpa_common.c @@ -1483,7 +1483,7 @@ int wpa_compare_rsn_ie(int ft_initial_assoc, } -#ifdef CONFIG_IEEE80211R +#if defined(CONFIG_IEEE80211R) || defined(CONFIG_FILS) int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid) { u8 *start, *end, *rpos, *rend; @@ -1582,7 +1582,7 @@ int wpa_insert_pmkid(u8 *ies, size_t *ies_len, const u8 *pmkid) return 0; } -#endif /* CONFIG_IEEE80211R */ +#endif /* CONFIG_IEEE80211R || CONFIG_FILS */ int wpa_cipher_key_len(int cipher)