diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-09-09 14:59:17 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-09-10 13:12:52 -0400 |
commit | 2d1c0044ddc708885146af1d6790436a613cac5b (patch) | |
tree | aae15d4b3b18595dcc9da342e1336319124780cb /drivers | |
parent | ee7d737c45440062320c16bc7ad7bb5c9fe8888e (diff) |
iwlwifi: fix indentation in iwl_load_given_ucode
There's a block of code that's indented too
far, move it out to where it should be.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/trans.c | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c index 7da075f5bffa..3f11b17e14ce 100644 --- a/drivers/net/wireless/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/iwlwifi/pcie/trans.c | |||
@@ -979,17 +979,16 @@ static int iwl_load_section(struct iwl_trans *trans, u8 section_num, | |||
979 | static int iwl_load_given_ucode(struct iwl_trans *trans, | 979 | static int iwl_load_given_ucode(struct iwl_trans *trans, |
980 | const struct fw_img *image) | 980 | const struct fw_img *image) |
981 | { | 981 | { |
982 | int ret = 0; | 982 | int i, ret = 0; |
983 | int i; | ||
984 | 983 | ||
985 | for (i = 0; i < IWL_UCODE_SECTION_MAX; i++) { | 984 | for (i = 0; i < IWL_UCODE_SECTION_MAX; i++) { |
986 | if (!image->sec[i].p_addr) | 985 | if (!image->sec[i].p_addr) |
987 | break; | 986 | break; |
988 | 987 | ||
989 | ret = iwl_load_section(trans, i, &image->sec[i]); | 988 | ret = iwl_load_section(trans, i, &image->sec[i]); |
990 | if (ret) | 989 | if (ret) |
991 | return ret; | 990 | return ret; |
992 | } | 991 | } |
993 | 992 | ||
994 | /* Remove all resets to allow NIC to operate */ | 993 | /* Remove all resets to allow NIC to operate */ |
995 | iwl_write32(trans, CSR_RESET, 0); | 994 | iwl_write32(trans, CSR_RESET, 0); |