aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2018-12-03 10:00:26 (GMT)
committerJouni Malinen <j@w1.fi>2018-12-03 10:00:26 (GMT)
commitf2973fa39d6109f0f34969e91551a98dc340d537 (patch)
tree54f9ebb8804ab44c2dd6660fb6da73f9c97f5a3a /wpa_supplicant
parent368c9dc0bd940f11c6de8b296c9fbc4c50fe417e (diff)
downloadhostap-f2973fa39d6109f0f34969e91551a98dc340d537.zip
hostap-f2973fa39d6109f0f34969e91551a98dc340d537.tar.gz
hostap-f2973fa39d6109f0f34969e91551a98dc340d537.tar.bz2
FT: Fix CONFIG_IEEE80211X=y build without CONFIG_FILS=y
remove_ie() was defined within an ifdef CONFIG_FILS block while it is now needed even without CONFIG_FILS=y. Remove the CONFIG_FILS condition there. Fixes 8c41734e5de1 ("FT: Fix Reassociation Request IEs during FT protocol") Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/sme.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 39c8069..f77f751 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -1386,7 +1386,6 @@ void sme_event_auth(struct wpa_supplicant *wpa_s, union wpa_event_data *data)
}
-#ifdef CONFIG_FILS
#ifdef CONFIG_IEEE80211R
static void remove_ie(u8 *buf, size_t *len, u8 eid)
{
@@ -1401,7 +1400,6 @@ static void remove_ie(u8 *buf, size_t *len, u8 eid)
}
}
#endif /* CONFIG_IEEE80211R */
-#endif /* CONFIG_FILS */
void sme_associate(struct wpa_supplicant *wpa_s, enum wpas_mode mode,