From: Jouni Malinen Date: Mon, 26 Mar 2018 09:33:52 +0000 (+0300) Subject: FILS: Fix CONFIG_FILS=y build without CONFIG_IEEE80211R=y X-Git-Tag: hostap_2_7~494 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d555c39c41af45499e1fb8c98206015acf5ea262;p=thirdparty%2Fhostap.git FILS: Fix CONFIG_FILS=y build without CONFIG_IEEE80211R=y Signed-off-by: Jouni Malinen --- diff --git a/src/rsn_supp/wpa.c b/src/rsn_supp/wpa.c index 5ebd4cb99..0e1ab900a 100644 --- a/src/rsn_supp/wpa.c +++ b/src/rsn_supp/wpa.c @@ -3520,6 +3520,7 @@ int fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data, os_memcpy(sm->fils_anonce, elems.fils_nonce, FILS_NONCE_LEN); wpa_hexdump(MSG_DEBUG, "FILS: ANonce", sm->fils_anonce, FILS_NONCE_LEN); +#ifdef CONFIG_IEEE80211R if (wpa_key_mgmt_ft(sm->key_mgmt)) { struct wpa_ft_ies parse; @@ -3567,6 +3568,7 @@ int fils_process_auth(struct wpa_sm *sm, const u8 *bssid, const u8 *data, wpabuf_free(sm->fils_ft_ies); sm->fils_ft_ies = NULL; } +#endif /* CONFIG_IEEE80211R */ /* PMKID List */ if (rsn.pmkid && rsn.num_pmkid > 0) {