iwlwifi: mvm: increase scan timeout to 20 seconds
authorLuca Coelho <luciano.coelho@intel.com>
Mon, 2 May 2016 12:27:34 +0000 (15:27 +0300)
committerLuca Coelho <luciano.coelho@intel.com>
Fri, 10 Jun 2016 09:50:53 +0000 (12:50 +0300)
commit06a84db74c3572cde79eb1b04f301399eafb8226
tree7ec9c1f7fd7d19440fb1d0aec6909d093e88f6e1
parent182fd9eecb287e696c82b30d06c6150d80a49c5b
iwlwifi: mvm: increase scan timeout to 20 seconds

The 16 seconds timeout we were using turned out to be too short.
Recalculations by system show that the total time in both bands should
be < 18.5 seconds, even in the slowest cases (e.g. DCM P2P with
DTIM=2).  Rounding it up to 20 seconds for a bit more safety.

Fixes: 728e825f81b1 ("iwlwifi: mvm: add a scan timeout for regular scans")
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c