iwlwifi: mvm: trim sched scan delay down to 16-bit for LMAC as well
authorLuciano Coelho <luciano.coelho@intel.com>
Fri, 17 Apr 2015 08:18:46 +0000 (11:18 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:50:56 +0000 (13:50 +0300)
commit283c2491416ef0be3e89ac5a70a870d765a4ac76
tree89f307068d174c0b74616c1ced278a6836d208cf
parent7d7de1e91594024ea1a6a48a8b89ee2e9dddf43c
iwlwifi: mvm: trim sched scan delay down to 16-bit for LMAC as well

In theory, LMAC scans can handle a 32-bit delay, but since waiting for
over 18 hours to start the scan is a bit silly and to keep it aligned
with UMAC scans (which only support 16-bit delays), trim it down to
16-bits.

This makes the LMAC vs. UMAC and the UMAC reg scan vs. UMAC sched scan
code more similar.

Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c