iwlwifi: mvm: add common scan params to thw iwl_mvm_scan_params struct
authorLuciano Coelho <luciano.coelho@intel.com>
Wed, 1 Apr 2015 21:08:35 +0000 (00:08 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:18:03 +0000 (13:18 +0300)
commitf7b788b429337e0c07df960f3bc70b0e5cb73b87
treeb66bdae2d877a00761f210546fb65c6c37f8e307
parent8df3e68f0b02b675a662198b77d31c94a9512d33
iwlwifi: mvm: add common scan params to thw iwl_mvm_scan_params struct

Many parameters are common for all scans.  Instead of parsing the
cfg80211 scan and sched scan requests differently in each flow, move
the parsing outside of the API/scan-type specific functions.  In this
way, we only need to differentiate between scan types once.

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