Commit 2d1c0044 authored by Johannes Berg's avatar Johannes Berg

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: default avatarJohannes Berg <johannes.berg@intel.com>
Reviewed-by: default avatarEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent ee7d737c
...@@ -979,17 +979,16 @@ static int iwl_load_section(struct iwl_trans *trans, u8 section_num, ...@@ -979,17 +979,16 @@ static int iwl_load_section(struct iwl_trans *trans, u8 section_num,
static int iwl_load_given_ucode(struct iwl_trans *trans, static int iwl_load_given_ucode(struct iwl_trans *trans,
const struct fw_img *image) const struct fw_img *image)
{ {
int ret = 0; int i, ret = 0;
int i;
for (i = 0; i < IWL_UCODE_SECTION_MAX; i++) { for (i = 0; i < IWL_UCODE_SECTION_MAX; i++) {
if (!image->sec[i].p_addr) if (!image->sec[i].p_addr)
break; break;
ret = iwl_load_section(trans, i, &image->sec[i]); ret = iwl_load_section(trans, i, &image->sec[i]);
if (ret) if (ret)
return ret; return ret;
} }
/* Remove all resets to allow NIC to operate */ /* Remove all resets to allow NIC to operate */
iwl_write32(trans, CSR_RESET, 0); iwl_write32(trans, CSR_RESET, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment