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 <eduardo.abinader@openbossa.org>
This commit is contained in:
parent
144f10446a
commit
81ed4991ae
1 changed files with 0 additions and 4 deletions
|
@ -2379,10 +2379,6 @@ wpa_supplicant_event_interface_status(struct wpa_supplicant *wpa_s,
|
||||||
wpa_supplicant_set_state(wpa_s, WPA_INTERFACE_DISABLED);
|
wpa_supplicant_set_state(wpa_s, WPA_INTERFACE_DISABLED);
|
||||||
l2_packet_deinit(wpa_s->l2);
|
l2_packet_deinit(wpa_s->l2);
|
||||||
wpa_s->l2 = NULL;
|
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
|
#ifdef CONFIG_TERMINATE_ONLASTIF
|
||||||
/* check if last interface */
|
/* check if last interface */
|
||||||
if (!any_interfaces(wpa_s->global->ifaces))
|
if (!any_interfaces(wpa_s->global->ifaces))
|
||||||
|
|
Loading…
Reference in a new issue