From: Jouni Malinen Date: Sun, 19 Dec 2010 10:44:58 +0000 (+0200) Subject: Fix CONFIG_SME build without CONFIG_IEEE80211W X-Git-Tag: hostap-1-bp~675 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5e8b237864eea208dc1ce0f3c378e754c7bda7fb;p=thirdparty%2Fhostap.git Fix CONFIG_SME build without CONFIG_IEEE80211W --- 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