]> 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)
commit0685ec8a285d6616c1ff44d9f834265d5db95ee2
tree7ec9c1f7fd7d19440fb1d0aec6909d093e88f6e1
parent01c2e130811d0b4c002cf10989936efffd84f72b
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: 876e3bbe3dc5 ("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