aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/320-rescan_immediately.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-01-23 08:28:26 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-01-23 08:28:26 +0000
commit0f6446ce4c3c2b18edbeaf671cc08027c9f70cff (patch)
tree76570bd515c1b16edfd03ecc34cba3c45baceb55 /package/hostapd/patches/320-rescan_immediately.patch
parent1fe0eac4f4c98d810007536f207ade6b4de5414d (diff)
downloadupstream-0f6446ce4c3c2b18edbeaf671cc08027c9f70cff.tar.gz
upstream-0f6446ce4c3c2b18edbeaf671cc08027c9f70cff.tar.bz2
upstream-0f6446ce4c3c2b18edbeaf671cc08027c9f70cff.zip
hostapd: add a build variant for wpa_supplicant and one for a multicall hostapd+supplicant program (wpad) and remove the old wpa_supplicant package
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@19286 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/hostapd/patches/320-rescan_immediately.patch')
-rw-r--r--package/hostapd/patches/320-rescan_immediately.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/hostapd/patches/320-rescan_immediately.patch b/package/hostapd/patches/320-rescan_immediately.patch
new file mode 100644
index 0000000000..a4020bc1dd
--- /dev/null
+++ b/package/hostapd/patches/320-rescan_immediately.patch
@@ -0,0 +1,11 @@
+--- a/wpa_supplicant/events.c
++++ b/wpa_supplicant/events.c
+@@ -843,7 +843,7 @@ static void wpa_supplicant_event_scan_re
+ wpa_printf(MSG_DEBUG, "Setup a new network");
+ wpa_supplicant_associate(wpa_s, NULL, ssid);
+ } else
+- wpa_supplicant_req_new_scan(wpa_s, 5);
++ wpa_supplicant_req_new_scan(wpa_s, 0);
+ }
+ }
+ #endif /* CONFIG_NO_SCAN_PROCESSING */