Fix CONFIG_SME build without CONFIG_IEEE80211W

This commit is contained in:
Jouni Malinen 2010-12-19 12:44:58 +02:00
parent 79c3124ce5
commit 5e8b237864

View file

@ -424,7 +424,9 @@ static void wpa_supplicant_cleanup(struct wpa_supplicant *wpa_s)
os_free(wpa_s->sme.ft_ies);
wpa_s->sme.ft_ies = NULL;
wpa_s->sme.ft_ies_len = 0;
#ifdef CONFIG_IEEE80211W
sme_stop_sa_query(wpa_s);
#endif /* CONFIG_IEEE80211W */
#endif /* CONFIG_SME */
#ifdef CONFIG_AP