aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/sme.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2017-05-09 20:29:55 (GMT)
committerJouni Malinen <j@w1.fi>2017-05-09 20:36:36 (GMT)
commit95818ec174017ab772f2bf1ad4c25bc679ebd0cf (patch)
treebe528915076d363c8b33c57d24e8905431d76b13 /wpa_supplicant/sme.c
parent61363945452b061eff166e1ada065aa1ddf9fe54 (diff)
downloadhostap-95818ec174017ab772f2bf1ad4c25bc679ebd0cf.zip
hostap-95818ec174017ab772f2bf1ad4c25bc679ebd0cf.tar.gz
hostap-95818ec174017ab772f2bf1ad4c25bc679ebd0cf.tar.bz2
Fix compiler warning with CONFIG_IEEE80211R no-CONFIG_FILS build
Addition of remove_ies() handled the CONFIG_IEEE80211R dependency, but missed the caller being within CONFIG_FILS as well. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/sme.c')
-rw-r--r--wpa_supplicant/sme.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c
index 08315a5..f1bd89e 100644
--- a/wpa_supplicant/sme.c
+++ b/wpa_supplicant/sme.c
@@ -1058,6 +1058,7 @@ 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)
{
@@ -1072,6 +1073,7 @@ 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,