Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1176f431 authored by David Spinadel's avatar David Spinadel Committed by Wey-Yi Guy
Browse files

iwlwifi: set size of ucode section



Set size of firmware section in mvm bundle format.

Signed-off-by: default avatarDavid Spinadel <david.spinadel@intel.com>
Signed-off-by: default avatarWey-Yi Guy <wey-yi.w.guy@intel.com>
parent 917c2ced
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;