diff options
author | Jayamohan Kallickal <jayamohan.kallickal@emulex.com> | 2011-04-29 15:30:07 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-05-01 17:34:41 -0400 |
commit | 069adc7b0617348dd4c5cace1b35a90d6ddf1013 (patch) | |
tree | e4289f1042819663b12cc2850c6f1763197d4f44 | |
parent | 665d6d94b73f1d706d6c006264cce7537ac708f4 (diff) |
[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>
-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 65a402b60e71..44762cfa3e12 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) | |||
202 | OPCODE_COMMON_ISCSI_CLEANUP, sizeof(*req)); | 202 | OPCODE_COMMON_ISCSI_CLEANUP, sizeof(*req)); |
203 | 203 | ||
204 | req->chute = chute; | 204 | req->chute = chute; |
205 | req->hdr_ring_id = 0; | 205 | req->hdr_ring_id = cpu_to_le16(HWI_GET_DEF_HDRQ_ID(phba)); |
206 | req->data_ring_id = 0; | 206 | req->data_ring_id = cpu_to_le16(HWI_GET_DEF_BUFQ_ID(phba)); |
207 | 207 | ||
208 | status = be_mcc_notify_wait(phba); | 208 | status = be_mcc_notify_wait(phba); |
209 | if (status) | 209 | if (status) |