[PATCH] wpa_supplicant: Print initialization information on startup.

greearb at candelatech.com greearb
Mon Apr 2 21:43:22 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-off-by: Ben Greear <greearb at candelatech.com>
---
:100644 100644 bde956e... 364c1a5... 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..364c1a5 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_ERROR, "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