aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/main.c
diff options
context:
space:
mode:
authorBen Greear <greearb@candelatech.com>2012-04-06 08:52:17 (GMT)
committerJouni Malinen <j@w1.fi>2012-04-06 08:52:17 (GMT)
commitbae489d292a3df75ad22d5cc8858e269c6bdf759 (patch)
treef60f28a27ab64858d4600ccf5b8fddca1a0b75b1 /wpa_supplicant/main.c
parentce28e2795ad6a416731c3c57df310168a5c32537 (diff)
downloadhostap-bae489d292a3df75ad22d5cc8858e269c6bdf759.zip
hostap-bae489d292a3df75ad22d5cc8858e269c6bdf759.tar.gz
hostap-bae489d292a3df75ad22d5cc8858e269c6bdf759.tar.bz2
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>
Diffstat (limited to 'wpa_supplicant/main.c')
-rw-r--r--wpa_supplicant/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/wpa_supplicant/main.c b/wpa_supplicant/main.c
index bde956e..80aac77 100644
--- a/wpa_supplicant/main.c
+++ b/wpa_supplicant/main.c
@@ -262,6 +262,9 @@ int main(int argc, char *argv[])
wpa_printf(MSG_ERROR, "Failed to initialize wpa_supplicant");
exitcode = -1;
goto out;
+ } else {
+ wpa_printf(MSG_INFO, "Successfully initialized "
+ "wpa_supplicant");
}
for (i = 0; exitcode == 0 && i < iface_count; i++) {