]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb901f5ffaabf0d935b11b24f5611d6c5bf1c7d6
tree7ec9c1f7fd7d19440fb1d0aec6909d093e88f6e1
parent0893151effb0a98bd3a37c53cab2e6c7a125caba
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: dafb18399e6b ("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