[PATCH 04/15] supplicant: Put upper bound on initial scan time delay.
greearb at candelatech.com
greearb
Wed Mar 5 16:19:49 PST 2014
From: Ben Greear <greearb at candelatech.com>
This makes stations associate much faster when using lots
of stations.
Signed-hostap: Ben Greear <greearb at candelatech.com>
---
wpa_supplicant/wpa_supplicant.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index 46195b1..4bd3d2d 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -2674,9 +2674,9 @@ int wpa_supplicant_driver_init(struct wpa_supplicant *wpa_s)
interface_count = 0;
}
if (!wpa_s->p2p_mgmt &&
- wpa_supplicant_delayed_sched_scan(wpa_s, interface_count,
+ wpa_supplicant_delayed_sched_scan(wpa_s, interface_count % 3,
100000))
- wpa_supplicant_req_scan(wpa_s, interface_count,
+ wpa_supplicant_req_scan(wpa_s, interface_count % 3,
100000);
interface_count++;
} else
--
1.7.3.4
More information about the Hostap
mailing list