]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Fix CONFIG_SME build without CONFIG_IEEE80211W
authorJouni Malinen <j@w1.fi>
Sun, 19 Dec 2010 10:44:58 +0000 (12:44 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 19 Dec 2010 10:44:58 +0000 (12:44 +0200)
wpa_supplicant/wpa_supplicant.c

index 998be62cc4d3f41b6cc93f40167dd9a32a4138e7..6658e5355cb64e550fab15320735f33beb656817 100644 (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