iwlwifi: mvm: always use iwl_mvm_scan_size to calculate the scan size
authorLuciano Coelho <luciano.coelho@intel.com>
Mon, 30 Mar 2015 12:09:24 +0000 (15:09 +0300)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Wed, 29 Apr 2015 10:12:49 +0000 (13:12 +0300)
commit83c415fd89486ab2992f728337c812b7264f7459
tree5d1e6a83e9c5a97ee40a7385397f8430715893b0
parent9954b37c4ab362ea015f2ee674bb46eca09fa559
iwlwifi: mvm: always use iwl_mvm_scan_size to calculate the scan size

We have a function (iwl_mvm_scan_size()) that can calculate the scan
size for both UMAC and LMAC scans.  Use that function instead of
calculating manually for LMAC scan and sched scan.

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