diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-09-11 06:09:22 -0400 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-10-25 07:45:06 -0400 |
commit | 46eebec9794e47ebad0352285db50a10de595bb5 (patch) | |
tree | bd178aa8f815439e4d63e0279d11976b5ae4195f | |
parent | effd19298c7767457772d489c88f1b7ffa6e7bd9 (diff) |
iwlwifi: mvm: clean up some whitespace in scan code
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/scan.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/scan.c b/drivers/net/wireless/iwlwifi/mvm/scan.c index ed15b50dced7..a8e11ccb8dc1 100644 --- a/drivers/net/wireless/iwlwifi/mvm/scan.c +++ b/drivers/net/wireless/iwlwifi/mvm/scan.c | |||
@@ -474,7 +474,7 @@ iwl_mvm_config_sched_scan_profiles(struct iwl_mvm *mvm, | |||
474 | int ret; | 474 | int ret; |
475 | 475 | ||
476 | if (WARN_ON(req->n_match_sets > IWL_SCAN_MAX_PROFILES)) | 476 | if (WARN_ON(req->n_match_sets > IWL_SCAN_MAX_PROFILES)) |
477 | return -EIO; | 477 | return -EIO; |
478 | 478 | ||
479 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) | 479 | if (mvm->fw->ucode_capa.flags & IWL_UCODE_TLV_FLAGS_SHORT_BL) |
480 | blacklist_len = IWL_SCAN_SHORT_BLACKLIST_LEN; | 480 | blacklist_len = IWL_SCAN_SHORT_BLACKLIST_LEN; |
@@ -842,7 +842,7 @@ static int iwl_mvm_scan_lmac(struct iwl_mvm *mvm, struct ieee80211_vif *vif, | |||
842 | * plan with one iteration. | 842 | * plan with one iteration. |
843 | */ | 843 | */ |
844 | if (!cmd->schedule[i - 1].iterations) | 844 | if (!cmd->schedule[i - 1].iterations) |
845 | cmd->schedule[i - 1].iterations = 0xff; | 845 | cmd->schedule[i - 1].iterations = 0xff; |
846 | 846 | ||
847 | if (iwl_mvm_scan_use_ebs(mvm, vif)) { | 847 | if (iwl_mvm_scan_use_ebs(mvm, vif)) { |
848 | cmd->channel_opt[0].flags = | 848 | cmd->channel_opt[0].flags = |
@@ -908,7 +908,6 @@ static __le32 iwl_mvm_scan_config_rates(struct iwl_mvm *mvm) | |||
908 | 908 | ||
909 | int iwl_mvm_config_scan(struct iwl_mvm *mvm) | 909 | int iwl_mvm_config_scan(struct iwl_mvm *mvm) |
910 | { | 910 | { |
911 | |||
912 | struct iwl_scan_config *scan_config; | 911 | struct iwl_scan_config *scan_config; |
913 | struct ieee80211_supported_band *band; | 912 | struct ieee80211_supported_band *band; |
914 | int num_channels = | 913 | int num_channels = |