[PATCH] FILS: fix compilation with CONFIG_NO_WPA

Andrei Otcheretianski andrei.otcheretianski at intel.com
Thu Jun 8 01:18:00 PDT 2017


From: Emmanuel Grumbach <emmanuel.grumbach at intel.com>

wpa_fils_is_completed was not defined.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach at intel.com>
---
 src/rsn_supp/wpa.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/rsn_supp/wpa.h b/src/rsn_supp/wpa.h
index bee1c92..65f4282 100644
--- a/src/rsn_supp/wpa.h
+++ b/src/rsn_supp/wpa.h
@@ -340,6 +340,10 @@ static inline void wpa_sm_set_ptk_kck_kek(struct wpa_sm *sm, const u8 *ptk_kck,
 {
 }
 
+static inline int wpa_fils_is_completed(struct wpa_sm *sm)
+{
+	return 0;
+}
 #endif /* CONFIG_NO_WPA */
 
 #ifdef CONFIG_PEERKEY
-- 
1.9.1




More information about the Hostap mailing list