Skip to content

Commit

Permalink
iwlwifi: set size of ucode section
Browse files Browse the repository at this point in the history
Set size of firmware section in mvm bundle format.

Signed-off-by: David Spinadel <david.spinadel@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
  • Loading branch information
David Spinadel authored and Wey-Yi Guy committed Apr 16, 2012
1 parent 917c2ce commit 1176f43
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/net/wireless/iwlwifi/iwl-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ static int iwl_store_ucode_sec(struct iwl_firmware_pieces *pieces,

sec->offset = le32_to_cpu(sec_parse->offset);
sec->data = sec_parse->data;
sec->size = size - sizeof(sec_parse->offset);

++img->sec_counter;

Expand Down

0 comments on commit 1176f43

Please sign in to comment.