From 5e8b237864eea208dc1ce0f3c378e754c7bda7fb Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 19 Dec 2010 12:44:58 +0200 Subject: [PATCH] Fix CONFIG_SME build without CONFIG_IEEE80211W --- wpa_supplicant/wpa_supplicant.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index 998be62cc..6658e5355 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -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