]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Remove duplicated TERMINATING event
authorJouni Malinen <j@w1.fi>
Sun, 29 Jan 2012 18:23:07 +0000 (20:23 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 29 Jan 2012 18:23:07 +0000 (20:23 +0200)
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 <j@w1.fi>

wpa_supplicant/wpa_supplicant.c

index b686c529bda430e576473a1ff8421c0bbf7b7ea2..304ae098aaff5fbaed02ef06a7288a5fdb501f6c 100644 (file)
@@ -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);
 }