From: Armen Baloyan <armen.balo...@qlogic.com>

Signed-off-by: Armen Baloyan <armen.balo...@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kash...@qlogic.com>
---
 drivers/scsi/qla2xxx/qla_mr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/qla2xxx/qla_mr.c b/drivers/scsi/qla2xxx/qla_mr.c
index 1801e5f..eb9be2e 100644
--- a/drivers/scsi/qla2xxx/qla_mr.c
+++ b/drivers/scsi/qla2xxx/qla_mr.c
@@ -2676,7 +2676,7 @@ qlafx00_process_response_queue(struct scsi_qla_host *vha,
        uint16_t lreq_q_out = 0;
 
        lreq_q_in = RD_REG_DWORD(rsp->rsp_q_in);
-       lreq_q_out = RD_REG_DWORD(rsp->rsp_q_out);
+       lreq_q_out = rsp->ring_index;
 
        while (lreq_q_in != lreq_q_out) {
                lptr = rsp->ring_ptr;
-- 
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to