From 31cf52bf2e4a571957d231799440bf56e943ebc5 Mon Sep 17 00:00:00 2001 From: Andrei Otcheretianski Date: Wed, 3 Apr 2019 18:17:14 +0300 Subject: [PATCH] Do not clear FT IEs twice in sme_deinit() Remove FT IEs clearing from sme_deinit() as it is done twice. The sme_clear_on_disassoc() call to sme_update_ft_ies() takes care of this. Signed-off-by: Andrei Otcheretianski --- wpa_supplicant/sme.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/wpa_supplicant/sme.c b/wpa_supplicant/sme.c index 383f858a0..17a984d1a 100644 --- a/wpa_supplicant/sme.c +++ b/wpa_supplicant/sme.c @@ -1993,9 +1993,6 @@ void sme_clear_on_disassoc(struct wpa_supplicant *wpa_s) void sme_deinit(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; sme_clear_on_disassoc(wpa_s); eloop_cancel_timeout(sme_assoc_timer, wpa_s, NULL);