summaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/430-rescan_immediately.patch
blob: 082344ac281d20c38ce829de9f56114f1326f637 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -2416,7 +2416,7 @@ static struct wpa_supplicant * wpa_suppl
 	if (wpa_s == NULL)
 		return NULL;
 	wpa_s->scan_req = INITIAL_SCAN_REQ;
-	wpa_s->scan_interval = 5;
+	wpa_s->scan_interval = 1;
 	wpa_s->new_connection = 1;
 	wpa_s->parent = wpa_s;
 	wpa_s->sched_scanning = 0;