iwlwifi: mvm: fix extended dwell time
authorDavid Spinadel <david.spinadel@intel.com>
Sun, 3 Jan 2016 15:08:32 +0000 (17:08 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 7 Jan 2016 17:01:27 +0000 (19:01 +0200)
commitca95ff3a9f9edea919a53a297a4cba178b6cdf5f
tree768db636defd76bea68029af09a718563eddf94a
parent488c28e110e18466c99ffb1e2342498b42d3344e
iwlwifi: mvm: fix extended dwell time

FW adds 10 msec for every dwell time in low band, so we need
to set 10 msec less.
Don't use extended dwell time when fragmented scan is needed
because FW adds 3 msec per probe and it can easily exceed
max out of channel time.

Fixes: c3e230b167a9 ("iwlwifi: mvm: add extended dwell time")
Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/intel/iwlwifi/mvm/scan.c