1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-18 07:56:15 +02:00
openwrt-xburst/package/hostapd/patches/320-rescan_immediately.patch
nbd 5eaa0e5385 [backfire] backport mac80211 and hostapd from trunk
git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@21354 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-04 15:36:29 +00:00

12 lines
386 B
Diff

--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -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 {
- int timeout_sec = 5;
+ int timeout_sec = 0;
int timeout_usec = 0;
wpa_supplicant_req_new_scan(wpa_s, timeout_sec,
timeout_usec);