mirror of https://gitee.com/openkylin/linux.git
iwlwifi: set size of ucode section
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>
This commit is contained in:
parent
917c2ced90
commit
1176f431fd
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue