]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Do not clear FT IEs twice in sme_deinit()
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 3 Apr 2019 15:17:14 +0000 (18:17 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 15 Apr 2019 21:48:27 +0000 (00:48 +0300)
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 <andrei.otcheretianski@intel.com>
wpa_supplicant/sme.c

index 383f858a0a64eb2c601c48ba96769319eca8a723..17a984d1a17d0d18d40d8e341c1d5e1904f014ba 100644 (file)
@@ -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);