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.
This commit is contained in:
parent
0597a5b59d
commit
180cdf45a4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue