iwlwifi: mvm: don't override passive dwell in case of fragmented scan
authorDavid Spinadel <david.spinadel@intel.com>
Tue, 17 Feb 2015 10:45:21 +0000 (12:45 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Mon, 2 Mar 2015 06:20:32 +0000 (08:20 +0200)
commit190f1029757346b72f297729cf8e5c562f2e9d8c
tree3a7378e0c8215af396fa24b434ca54a57014ca06
parent3ec50b5eec6b0e92f862ba48c837fa5437dcd4a4
iwlwifi: mvm: don't override passive dwell in case of fragmented scan

Currently scan params structure has only active or passive dwell time
fields, passive one is used for fragmented scans too. FW needs the
passive dwell time even when performing fragmented scan for calculating
time between channels. Add a separate parameter for fragmented dwell time
and pass both fragmented and passive to FW.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/scan.c