aboutsummaryrefslogtreecommitdiffstats
path: root/package/hostapd/patches/320-rescan_immediately.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-04-24 17:24:07 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-04-24 17:24:07 +0000
commitb6ea79a06b55b31649bf7bec2e02a81c9f902490 (patch)
treef4407578c92729cb38d2818755c81239ed83c6b4 /package/hostapd/patches/320-rescan_immediately.patch
parentdb0238e698ca5151f8c8a5ce4ed2b0a949f6fa02 (diff)
downloadupstream-b6ea79a06b55b31649bf7bec2e02a81c9f902490.tar.gz
upstream-b6ea79a06b55b31649bf7bec2e02a81c9f902490.tar.bz2
upstream-b6ea79a06b55b31649bf7bec2e02a81c9f902490.zip
hostapd: update to 20100418 (0.7.2)
SVN-Revision: 21142
Diffstat (limited to 'package/hostapd/patches/320-rescan_immediately.patch')
-rw-r--r--package/hostapd/patches/320-rescan_immediately.patch14
1 files changed, 7 insertions, 7 deletions
diff --git a/package/hostapd/patches/320-rescan_immediately.patch b/package/hostapd/patches/320-rescan_immediately.patch
index f486baf645..1a0eb58a72 100644
--- a/package/hostapd/patches/320-rescan_immediately.patch
+++ b/package/hostapd/patches/320-rescan_immediately.patch
@@ -1,11 +1,11 @@
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
-@@ -924,7 +924,7 @@ static void wpa_supplicant_event_scan_re
+@@ -958,7 +958,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 */
+ } else {
+- int timeout_sec = 5;
++ int timeout_sec = 0;
+ int timeout_usec = 0;
+ wpa_supplicant_req_new_scan(wpa_s, timeout_sec,
+ timeout_usec);