41389a
--- a/wpa_supplicant/events.c
41389a
+++ b/wpa_supplicant/events.c
41389a
@@ -1443,16 +1443,14 @@ static int wpa_supplicant_need_to_roam(s
41389a
 
41389a
 	min_diff = 2;
41389a
 	if (current_bss->level < 0) {
41389a
-		if (current_bss->level < -85)
41389a
-			min_diff = 1;
41389a
-		else if (current_bss->level < -80)
41389a
-			min_diff = 2;
41389a
-		else if (current_bss->level < -75)
41389a
-			min_diff = 3;
41389a
-		else if (current_bss->level < -70)
41389a
+		if (current_bss->level < -75)
41389a
 			min_diff = 4;
41389a
+		else if (current_bss->level < -70)
41389a
+			min_diff = 6;
41389a
+		else if (current_bss->level < -65)
41389a
+			min_diff = 8;
41389a
 		else
41389a
-			min_diff = 5;
41389a
+			min_diff = 15;
41389a
 	}
41389a
 	if (to_5ghz) {
41389a
 		/* Make it easier to move to 5 GHz band */