From 499e7286b0a3ed02beb03bf0e6a4a4d0c5ed3cf9 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 29 Jan 2012 20:23:07 +0200 Subject: [PATCH] Remove duplicated TERMINATING event Now that CTRL-EVENT-TERMINATING even is sent at the end of interface removal in case wpa_supplicant process is going to terminate, there is no need for this duplicated event in the signal handler. Signed-hostap: Jouni Malinen --- wpa_supplicant/wpa_supplicant.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index b686c529b..304ae098a 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -673,11 +673,6 @@ void wpa_supplicant_terminate_proc(struct wpa_global *global) static void wpa_supplicant_terminate(int sig, void *signal_ctx) { struct wpa_global *global = signal_ctx; - struct wpa_supplicant *wpa_s; - for (wpa_s = global->ifaces; wpa_s; wpa_s = wpa_s->next) { - wpa_msg(wpa_s, MSG_INFO, WPA_EVENT_TERMINATING "- signal %d " - "received", sig); - } wpa_supplicant_terminate_proc(global); }