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>
This commit is contained in:
Jouni Malinen 2017-05-09 23:29:55 +03:00 committed by Jouni Malinen
parent 6136394545
commit 95818ec174

View file

@ -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,