From: Eduardo Abinader Date: Wed, 7 May 2014 22:42:52 +0000 (-0400) Subject: Remove duplicated ibss_rsn_deinit() call X-Git-Tag: hostap_2_2~172 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=81ed4991aec524606c2f60d5653528994a812b1a;p=thirdparty%2Fhostap.git 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 --- 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))