summaryrefslogtreecommitdiff
path: root/package/hostapd/patches/430-rescan_immediately.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/hostapd/patches/430-rescan_immediately.patch')
-rw-r--r--package/hostapd/patches/430-rescan_immediately.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hostapd/patches/430-rescan_immediately.patch b/package/hostapd/patches/430-rescan_immediately.patch
new file mode 100644
index 0000000..42600ce
--- /dev/null
+++ b/package/hostapd/patches/430-rescan_immediately.patch
@@ -0,0 +1,11 @@
+--- a/wpa_supplicant/wpa_supplicant.c
++++ b/wpa_supplicant/wpa_supplicant.c
+@@ -2191,7 +2191,7 @@ static struct wpa_supplicant * wpa_suppl
+ if (wpa_s == NULL)
+ return NULL;
+ wpa_s->scan_req = 1;
+- 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;