aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/wimax/i2400m/fw.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wimax/i2400m/fw.c b/drivers/net/wimax/i2400m/fw.c
index 0018cdbd0156..92d4d605dc2d 100644
--- a/drivers/net/wimax/i2400m/fw.c
+++ b/drivers/net/wimax/i2400m/fw.c
@@ -533,6 +533,10 @@ int i2400m_dnload_finalize(struct i2400m *i2400m,
533 struct i2400m_bootrom_header jump_ack; 533 struct i2400m_bootrom_header jump_ack;
534 d_printf(1, dev, "unsecure boot, jumping to 0x%08x\n", 534 d_printf(1, dev, "unsecure boot, jumping to 0x%08x\n",
535 le32_to_cpu(cmd->target_addr)); 535 le32_to_cpu(cmd->target_addr));
536 cmd_buf = i2400m->bm_cmd_buf;
537 memcpy(&cmd_buf->cmd, cmd, sizeof(*cmd));
538 cmd = &cmd_buf->cmd;
539 /* now cmd points to the actual bootrom_header in cmd_buf */
536 i2400m_brh_set_opcode(cmd, I2400M_BRH_JUMP); 540 i2400m_brh_set_opcode(cmd, I2400M_BRH_JUMP);
537 cmd->data_size = 0; 541 cmd->data_size = 0;
538 ret = i2400m_bm_cmd(i2400m, cmd, sizeof(*cmd), 542 ret = i2400m_bm_cmd(i2400m, cmd, sizeof(*cmd),