[SCSI] be2iscsi: Set a timeout to FW
authorJayamohan Kallickal <jayamohan.kallickal@emulex.com>
Fri, 25 Mar 2011 21:23:59 +0000 (14:23 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Fri, 15 Apr 2011 21:46:16 +0000 (16:46 -0500)
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_cmds.c

index 4ffcbf751695214c6bfcdc97fc552ce5e186640c..b8a82f2c62c82306e67ec47e45154077f7324978 100644 (file)
@@ -458,6 +458,7 @@ void be_cmd_hdr_prepare(struct be_cmd_req_hdr *req_hdr,
        req_hdr->opcode = opcode;
        req_hdr->subsystem = subsystem;
        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,