]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
FT: Fix CONFIG_IEEE80211X=y build without CONFIG_FILS=y
authorJouni Malinen <j@w1.fi>
Mon, 3 Dec 2018 10:00:26 +0000 (12:00 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 3 Dec 2018 10:00:26 +0000 (12:00 +0200)
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>
wpa_supplicant/sme.c

index 39c80696a94c3f2027e647a9a1597ef3c4b65247..f77f75177ef261d38017668b380bf222bf18f180 100644 (file)
@@ -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,