Blame SOURCES/rh837402-less-aggressive-roaming.patch

a6b4ce
diff -up wpa_supplicant-0.7.3/wpa_supplicant/events.c.foo wpa_supplicant-0.7.3/wpa_supplicant/events.c
a6b4ce
--- wpa_supplicant-0.7.3/wpa_supplicant/events.c.foo	2012-06-12 12:03:36.172962193 -0500
a6b4ce
+++ wpa_supplicant-0.7.3/wpa_supplicant/events.c	2012-06-12 12:03:51.388771973 -0500
a6b4ce
@@ -871,16 +871,14 @@ static int wpa_supplicant_need_to_roam(s
a6b4ce
 
a6b4ce
 	min_diff = 2;
a6b4ce
 	if (current_bss->level < 0) {
a6b4ce
-		if (current_bss->level < -85)
a6b4ce
-			min_diff = 1;
a6b4ce
-		else if (current_bss->level < -80)
a6b4ce
-			min_diff = 2;
a6b4ce
-		else if (current_bss->level < -75)
a6b4ce
-			min_diff = 3;
a6b4ce
-		else if (current_bss->level < -70)
a6b4ce
+		if (current_bss->level < -75)
a6b4ce
 			min_diff = 4;
a6b4ce
+		else if (current_bss->level < -70)
a6b4ce
+			min_diff = 6;
a6b4ce
+		else if (current_bss->level < -65)
a6b4ce
+			min_diff = 8;
a6b4ce
 		else
a6b4ce
-			min_diff = 5;
a6b4ce
+			min_diff = 15;
a6b4ce
 	}
a6b4ce
 	if (abs(current_bss->level - selected->level) < min_diff) {
a6b4ce
 		wpa_dbg(wpa_s, MSG_DEBUG, "Skip roam - too small difference "
a6b4ce