mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
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 <andrei.otcheretianski@intel.com>
This commit is contained in:
parent
01ac337b32
commit
31cf52bf2e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user