From 14de9e31c4e1c5ddf5900fb474fdda7c14245800 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 22 Oct 2016 22:46:48 +0300 Subject: [PATCH] FILS: Include wpa_insert_pmkid() in non-FT builds This function is needed for FILS as well as FT. Signed-off-by: Jouni Malinen --- src/common/wpa_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)