aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services/hostapd/patches/310-rescan_immediately.patch
blob: f69bb388a6b0fb1f3b6a6a56a4efba5b3ce1ed75 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -4475,7 +4475,7 @@ wpa_supplicant_alloc(struct wpa_supplica
 	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 = parent ? parent : wpa_s;
 	wpa_s->p2pdev = wpa_s->parent;