mirror of
https://github.com/hardkernel/linux.git
synced 2026-05-31 00:06:41 +09:00
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:
committed by
Wey-Yi Guy
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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user