From: Jayamohan Kallickal Date: Fri, 25 Mar 2011 21:23:59 +0000 (-0700) Subject: [SCSI] be2iscsi: Set a timeout to FW X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=91eefa894add1617200c70d3886773e608de7a03;p=openwrt%2Fstaging%2Fblogic.git [SCSI] be2iscsi: Set a timeout to FW Signed-off-by: Jayamohan Kallickal Signed-off-by: James Bottomley --- diff --git a/drivers/scsi/be2iscsi/be_cmds.c b/drivers/scsi/be2iscsi/be_cmds.c index 4ffcbf751695..b8a82f2c62c8 100644 --- a/drivers/scsi/be2iscsi/be_cmds.c +++ b/drivers/scsi/be2iscsi/be_cmds.c @@ -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,