diff options
Diffstat (limited to 'drivers/net/benet')
-rw-r--r-- | drivers/net/benet/be_cmds.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/benet/be_cmds.c b/drivers/net/benet/be_cmds.c index 3397ee327e1f..477f82bc647e 100644 --- a/drivers/net/benet/be_cmds.c +++ b/drivers/net/benet/be_cmds.c | |||
@@ -308,6 +308,7 @@ static void be_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr, | |||
308 | req_hdr->opcode = opcode; | 308 | req_hdr->opcode = opcode; |
309 | req_hdr->subsystem = subsystem; | 309 | req_hdr->subsystem = subsystem; |
310 | req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); | 310 | req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr)); |
311 | req_hdr->version = 0; | ||
311 | } | 312 | } |
312 | 313 | ||
313 | static void be_cmd_page_addrs_prepare(struct phys_addr *pages, u32 max_pages, | 314 | static void be_cmd_page_addrs_prepare(struct phys_addr *pages, u32 max_pages, |