Browse Source

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.
Jouni Malinen 13 years ago
parent
commit
180cdf45a4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/drivers/driver_wext.c

+ 1 - 1
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