diff options
author | Jayamohan Kallickal <jayamohank@serverengines.com> | 2010-08-12 23:36:06 +0530 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-09-02 17:13:09 -0300 |
commit | b15d05b0d358cedf9c4d420a60d2ee2d0f530788 (patch) | |
tree | ac9f241824bc750507e5dc597e9045f7d08b0cb5 /drivers/scsi/be2iscsi/be_mgmt.c | |
parent | d842a93c4b3a20d31f4fb97357e0964210d6066f (diff) | |
download | linux-next-b15d05b0d358cedf9c4d420a60d2ee2d0f530788.tar.gz |
[SCSI] be2iscsi: Fix for Login failure
The current code in tree has problems with Login.
This patch fixes the Login Failure .
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
[mnc: Can't believe I missed that.]
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_mgmt.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c index 26350e470bcc..877324fc594c 100644 --- a/drivers/scsi/be2iscsi/be_mgmt.c +++ b/drivers/scsi/be2iscsi/be_mgmt.c @@ -368,7 +368,7 @@ int mgmt_open_connection(struct beiscsi_hba *phba, memset(req, 0, sizeof(*req)); wrb->tag0 |= tag; - be_wrb_hdr_prepare(wrb, sizeof(*req), true, 1); + be_wrb_hdr_prepare(wrb, sizeof(*req), false, 1); be_cmd_hdr_prepare(&req->hdr, CMD_SUBSYSTEM_ISCSI, OPCODE_COMMON_ISCSI_TCP_CONNECT_AND_OFFLOAD, sizeof(*req)); |