diff mbox

[v2] wpa_supplicant: Print initialization information on startup.

Message ID 1333514173-14758-1-git-send-email-greearb@candelatech.com
State Accepted
Commit bae489d292a3df75ad22d5cc8858e269c6bdf759
Headers show

Commit Message

Ben Greear April 4, 2012, 4:36 a.m. UTC
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(-)

Comments

Jouni Malinen April 6, 2012, 8:53 a.m. UTC | #1
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.
diff mbox

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