diff mbox series

[3/5] wpa_supplicant: Bump logging level in need_to_roam()

Message ID 20191206222748.153534-3-matthewmwang@chromium.org
State Changes Requested
Headers show
Series [1/5] wpa_supplicant: Bump up logging level for roaming decisions | expand

Commit Message

Matthew Wang Dec. 6, 2019, 10:27 p.m. UTC
Bump up logging level from MSG_DEBUG to MSG_INFO in need_to_roam()
function for more visibility.

Signed-off-by: Matthew Wang <matthewmwang@chromium.org>
---
 wpa_supplicant/events.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 46c8b9bae..32e62c5d1 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1742,7 +1742,7 @@  static int wpa_supplicant_need_to_roam(struct wpa_supplicant *wpa_s,
 	}
 
 	if (current_bss->est_throughput > selected->est_throughput + 5000) {
-		wpa_dbg(wpa_s, MSG_DEBUG,
+		wpa_dbg(wpa_s, MSG_INFO,
 			"Skip roam - Current BSS has better estimated throughput");
 		return 0;
 	}
@@ -1794,7 +1794,7 @@  static int wpa_supplicant_need_to_roam(struct wpa_supplicant *wpa_s,
 		return 0;
 	}
 
-	wpa_dbg(wpa_s, MSG_DEBUG,
+	wpa_dbg(wpa_s, MSG_INFO,
 		"Allow reassociation due to difference in signal level (%d >= %d)",
 		diff, min_diff);
 	return 1;