From 81ed4991aec524606c2f60d5653528994a812b1a Mon Sep 17 00:00:00 2001 From: Eduardo Abinader Date: Wed, 7 May 2014 18:42:52 -0400 Subject: [PATCH] Remove duplicated ibss_rsn_deinit() call No need to call ibss_rsn_deinit() again since it is already being called by wpa_supplicant_mark_disassoc(). Signed-off-by: Eduardo Abinader --- wpa_supplicant/events.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c index e2577bf27..086c51093 100644 --- a/wpa_supplicant/events.c +++ b/wpa_supplicant/events.c @@ -2379,10 +2379,6 @@ wpa_supplicant_event_interface_status(struct wpa_supplicant *wpa_s, wpa_supplicant_set_state(wpa_s, WPA_INTERFACE_DISABLED); l2_packet_deinit(wpa_s->l2); wpa_s->l2 = NULL; -#ifdef CONFIG_IBSS_RSN - ibss_rsn_deinit(wpa_s->ibss_rsn); - wpa_s->ibss_rsn = NULL; -#endif /* CONFIG_IBSS_RSN */ #ifdef CONFIG_TERMINATE_ONLASTIF /* check if last interface */ if (!any_interfaces(wpa_s->global->ifaces))