From f19858f5a8dd3e8d9c3814a6e741e2b9cadea0f5 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 22 Oct 2010 11:50:34 +0300 Subject: [PATCH] Show wpa_supplicant version number in the debug log --- wpa_supplicant/wpa_supplicant.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c index 61d1c87e4..0d443366d 100644 --- a/wpa_supplicant/wpa_supplicant.c +++ b/wpa_supplicant/wpa_supplicant.c @@ -2365,6 +2365,8 @@ struct wpa_global * wpa_supplicant_init(struct wpa_params *params) wpa_debug_timestamp = global->params.wpa_debug_timestamp = params->wpa_debug_timestamp; + wpa_printf(MSG_DEBUG, "wpa_supplicant v" VERSION_STR); + if (eloop_init()) { wpa_printf(MSG_ERROR, "Failed to initialize event loop"); wpa_supplicant_deinit(global);