]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
wext: Increase scan timeout from 5 to 10 seconds
authorJouni Malinen <jouni@qca.qualcomm.com>
Tue, 18 Oct 2011 20:04:36 +0000 (23:04 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 18 Oct 2011 20:04:36 +0000 (23:04 +0300)
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.

src/drivers/driver_wext.c

index 9fa356b8b6f690c66329caf5e6854f03804ec28f..e44aeac749adacfe5e25dced6fcdf8355322ad9e 100644 (file)
@@ -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