aboutsummaryrefslogtreecommitdiffstats
path: root/src/drivers/driver_wext.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni@qca.qualcomm.com>2011-10-18 20:04:36 (GMT)
committerJouni Malinen <j@w1.fi>2011-10-18 20:04:36 (GMT)
commit180cdf45a415969b851aab530e9b23606032941a (patch)
tree8a5042660723a468b11902cf670594e85fd42423 /src/drivers/driver_wext.c
parent0597a5b59d731142d53bd854b18f802fb2e01046 (diff)
downloadhostap-180cdf45a415969b851aab530e9b23606032941a.zip
hostap-180cdf45a415969b851aab530e9b23606032941a.tar.gz
hostap-180cdf45a415969b851aab530e9b23606032941a.tar.bz2
wext: Increase scan timeout from 5 to 10 seconds
Some dualband cards can use more than five seconds to run through a full scan, so increase the timeout to avoid hitting the missing scan completed event workaround.
Diffstat (limited to 'src/drivers/driver_wext.c')
-rw-r--r--src/drivers/driver_wext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c
index 9fa356b..e44aeac 100644
--- a/src/drivers/driver_wext.c
+++ b/src/drivers/driver_wext.c
@@ -1007,7 +1007,7 @@ int wpa_driver_wext_scan(void *priv, struct wpa_driver_scan_params *params)
/* Not all drivers generate "scan completed" wireless event, so try to
* read results after a timeout. */
- timeout = 5;
+ timeout = 10;
if (drv->scan_complete_events) {
/*
* The driver seems to deliver SIOCGIWSCAN events to notify