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

login
register
mail settings
Submitter Ben Greear
Date April 4, 2012, 4:36 a.m.
Message ID <1333514173-14758-1-git-send-email-greearb@candelatech.com>
Download mbox | patch
Permalink /patch/150583/
State Accepted
Commit bae489d292a3df75ad22d5cc8858e269c6bdf759
Headers show

Comments

Ben Greear - April 4, 2012, 4:36 a.m.
From: Ben Greear <greearb@candelatech.com>

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

Signed-hostap: Ben Greear <greearb@candelatech.com>
---
:100644 100644 bde956e... 1fdeef7... M	wpa_supplicant/main.c
 wpa_supplicant/main.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Jouni Malinen - April 6, 2012, 8:53 a.m.
On Tue, Apr 03, 2012 at 09:36:13PM -0700, greearb@candelatech.com wrote:
> This lets someone know if they have a log file that properly
> starts at the beginning.

Thanks, applied.

Patch

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 &&