From 1ace2f7c09f1af9f578121a6f1cf9928c0e23696 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Thu, 2 Jan 2020 15:52:01 +0200 Subject: [PATCH] Drop debug print level for informative debug messages These are certainly not error conditions, but normal cases for starting up. Drop the message from ERROR to DEBUG. Signed-off-by: Jouni Malinen --- hostapd/main.c | 2 +- src/ap/hostapd.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hostapd/main.c b/hostapd/main.c index e42069ba9..9bca26e35 100644 --- a/hostapd/main.c +++ b/hostapd/main.c @@ -260,7 +260,7 @@ hostapd_interface_init(struct hapd_interfaces *interfaces, const char *if_name, struct hostapd_iface *iface; int k; - wpa_printf(MSG_ERROR, "Configuration file: %s", config_fname); + wpa_printf(MSG_DEBUG, "Configuration file: %s", config_fname); iface = hostapd_init(interfaces, config_fname); if (!iface) return NULL; diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c index 516d571ae..55dd11e06 100644 --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c @@ -1198,7 +1198,7 @@ static int hostapd_setup_bss(struct hostapd_data *hapd, int first) conf->ssid.short_ssid = crc32(conf->ssid.ssid, conf->ssid.ssid_len); if (!hostapd_drv_none(hapd)) { - wpa_printf(MSG_ERROR, "Using interface %s with hwaddr " MACSTR + wpa_printf(MSG_DEBUG, "Using interface %s with hwaddr " MACSTR " and ssid \"%s\"", conf->iface, MAC2STR(hapd->own_addr), wpa_ssid_txt(conf->ssid.ssid, conf->ssid.ssid_len));