wpa_supplicant: Print initialization information on startup

This lets someone know if they have a log file that properly
starts at the beginning.

Signed-hostap: Ben Greear <greearb@candelatech.com>
This commit is contained in:
Ben Greear 2012-04-06 11:52:17 +03:00 committed by Jouni Malinen
parent ce28e2795a
commit bae489d292

View file

@ -262,6 +262,9 @@ int main(int argc, char *argv[])
wpa_printf(MSG_ERROR, "Failed to initialize wpa_supplicant"); wpa_printf(MSG_ERROR, "Failed to initialize wpa_supplicant");
exitcode = -1; exitcode = -1;
goto out; goto out;
} else {
wpa_printf(MSG_INFO, "Successfully initialized "
"wpa_supplicant");
} }
for (i = 0; exitcode == 0 && i < iface_count; i++) { for (i = 0; exitcode == 0 && i < iface_count; i++) {