[PATCH v2] wpa_supplicant: use wpa_dbg for "Successfully set 4addr mode"

Andrew Sayers w1.fi at pileofstuff.org
Mon Jan 27 10:41:47 PST 2025


Most messages of the form "Successfully..." are set to MSG_DEBUG.

Signed-off-by: Andrew Sayers <w1.fi at pileofstuff.org>
---
 wpa_supplicant/events.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

I'm fine with wpa_dbg(), but the other "Successfully..." messages use
wpa_printf(), so this will be missing for some people that see them.
Not sure if that matters.

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 2be597409..3ae17ace4 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -3111,7 +3111,7 @@ static void wpa_supplicant_set_4addr_mode(struct wpa_supplicant *wpa_s)
 		goto fail;
 	}
 	wpa_s->enabled_4addr_mode = 1;
-	wpa_msg(wpa_s, MSG_INFO, "Successfully set 4addr mode");
+	wpa_dbg(wpa_s, MSG_DEBUG, "Successfully set 4addr mode");
 	return;
 
 fail:
-- 
2.47.2




More information about the Hostap mailing list