Show wpa_supplicant version number in the debug log

This commit is contained in:
Jouni Malinen 2010-10-22 11:50:34 +03:00 committed by Jouni Malinen
parent 450eddcfae
commit f19858f5a8

View File

@ -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);