diff options
author | Jayamohan Kallickal <jayamohan.kallickal@emulex.com> | 2011-04-29 19:30:07 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 21:34:41 (GMT) |
commit | 069adc7b0617348dd4c5cace1b35a90d6ddf1013 (patch) | |
tree | e4289f1042819663b12cc2850c6f1763197d4f44 /drivers/scsi/be2iscsi | |
parent | 665d6d94b73f1d706d6c006264cce7537ac708f4 (diff) | |
download | linux-069adc7b0617348dd4c5cace1b35a90d6ddf1013.tar.xz |
[SCSI] be2iscsi: fix chip cleanup
This patch fixes a bug where proper queue id's were not passed to
chip for cleanup.
Signed-off-by: Jayamohan Kallickal <jayamohan.kallickal@emulex.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi')
-rw-r--r-- | drivers/scsi/be2iscsi/be_mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_mgmt.c b/drivers/scsi/be2iscsi/be_mgmt.c index 65a402b..44762cf 100644 --- a/drivers/scsi/be2iscsi/be_mgmt.c +++ b/drivers/scsi/be2iscsi/be_mgmt.c @@ -202,8 +202,8 @@ int mgmt_epfw_cleanup(struct beiscsi_hba *phba, unsigned short chute) OPCODE_COMMON_ISCSI_CLEANUP, sizeof(*req)); req->chute = chute; - req->hdr_ring_id = 0; - req->data_ring_id = 0; + req->hdr_ring_id = cpu_to_le16(HWI_GET_DEF_HDRQ_ID(phba)); + req->data_ring_id = cpu_to_le16(HWI_GET_DEF_BUFQ_ID(phba)); status = be_mcc_notify_wait(phba); if (status) |