projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
917c2ce
)
iwlwifi: set size of ucode section
author
David Spinadel
<david.spinadel@intel.com>
Tue, 13 Mar 2012 12:32:48 +0000
(14:32 +0200)
committer
Wey-Yi Guy
<wey-yi.w.guy@intel.com>
Mon, 16 Apr 2012 21:36:09 +0000
(14:36 -0700)
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>
drivers/net/wireless/iwlwifi/iwl-drv.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/iwlwifi/iwl-drv.c
b/drivers/net/wireless/iwlwifi/iwl-drv.c
index fa12f73cd5095a210694f54d0e9a0adf345efbc2..da4d85a32d314273ebc5391b4894af44c84ca439 100644
(file)
--- a/
drivers/net/wireless/iwlwifi/iwl-drv.c
+++ b/
drivers/net/wireless/iwlwifi/iwl-drv.c
@@
-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;