[SCSI] be2iscsi: Set a timeout to FW
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
This commit is contained in:
parent
0ca43cc01e
commit
91eefa894a
1 changed files with 1 additions and 0 deletions
|
@ -458,6 +458,7 @@ void be_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr,
|
||||||
req_hdr->opcode = opcode;
|
req_hdr->opcode = opcode;
|
||||||
req_hdr->subsystem = subsystem;
|
req_hdr->subsystem = subsystem;
|
||||||
req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr));
|
req_hdr->request_length = cpu_to_le32(cmd_len - sizeof(*req_hdr));
|
||||||
|
req_hdr->timeout = 120;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void be_cmd_page_addrs_prepare(struct phys_addr *pages, u32 max_pages,
|
static void be_cmd_page_addrs_prepare(struct phys_addr *pages, u32 max_pages,
|
||||||
|
|
Loading…
Reference in a new issue