[PATCH v2] wpa_supplicant: Print initialization information on startup.

greearb at candelatech.com greearb
Tue Apr 3 21:36:13 PDT 2012


From: Ben Greear <greearb at candelatech.com>

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

Signed-hostap: Ben Greear <greearb at candelatech.com>
---
:100644 100644 bde956e... 1fdeef7... M	wpa_supplicant/main.c
 wpa_supplicant/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/wpa_supplicant/main.c b/wpa_supplicant/main.c
index bde956e..1fdeef7 100644
--- a/wpa_supplicant/main.c
+++ b/wpa_supplicant/main.c
@@ -263,6 +263,9 @@ int main(int argc, char *argv[])
 		exitcode = -1;
 		goto out;
 	}
+	else {
+		wpa_printf(MSG_INFO, "Successfully initialized wpa_supplicant");
+	}
 
 	for (i = 0; exitcode == 0 && i < iface_count; i++) {
 		if ((ifaces[i].confname == NULL &&
-- 
1.7.3.4




More information about the Hostap mailing list