summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/mvm/mvm.h
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2015-03-27 10:28:26 +0300
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>2015-04-29 13:13:15 +0300
commit999d2568ee0c2bbdf71a414e85fffe5d58fe766a (patch)
treeee0c7caf61ed62adeb605c3b7f2c806070f6b576 /drivers/net/wireless/iwlwifi/mvm/mvm.h
parent83c415fd89486ab2992f728337c812b7264f7459 (diff)
downloadtalos-op-linux-999d2568ee0c2bbdf71a414e85fffe5d58fe766a.tar.gz
talos-op-linux-999d2568ee0c2bbdf71a414e85fffe5d58fe766a.zip
iwlwifi: mvm: combine scan size checks into a common function
Instead of repeating the same code in 4 different places, combine the comparisons into a new function. Additionally, this change fixes UMAC scans where the RRM IEs were not taken into consideration when calculating the IE length. 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>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm/mvm.h')
-rw-r--r--drivers/net/wireless/iwlwifi/mvm/mvm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mvm.h b/drivers/net/wireless/iwlwifi/mvm/mvm.h
index a8f51a824a75..7679ad680194 100644
--- a/drivers/net/wireless/iwlwifi/mvm/mvm.h
+++ b/drivers/net/wireless/iwlwifi/mvm/mvm.h
@@ -1168,7 +1168,7 @@ int iwl_mvm_reg_scan_start(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
struct ieee80211_scan_ies *ies);
int iwl_mvm_scan_size(struct iwl_mvm *mvm);
int iwl_mvm_cancel_scan(struct iwl_mvm *mvm);
-int iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm, bool is_sched_scan);
+int iwl_mvm_max_scan_ie_len(struct iwl_mvm *mvm);
void iwl_mvm_report_scan_aborted(struct iwl_mvm *mvm);
/* Scheduled scan */
OpenPOWER on IntegriCloud