diff options
author | Anirban Chakraborty <anirban.chakraborty@qlogic.com> | 2009-01-08 15:41:08 -0800 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-01-13 10:36:01 -0600 |
commit | 29bdccbee69c199910b2b39377e66ee5c33f241c (patch) | |
tree | 401898822f082996e8822cd60cd9c5bcb86750e8 /drivers/scsi/qla2xxx/qla_mid.c | |
parent | ccbf04f24c55ead791dac5df8ddeb1a640fbaad8 (diff) | |
download | kernel_goldelico_gta04-29bdccbee69c199910b2b39377e66ee5c33f241c.zip kernel_goldelico_gta04-29bdccbee69c199910b2b39377e66ee5c33f241c.tar.gz kernel_goldelico_gta04-29bdccbee69c199910b2b39377e66ee5c33f241c.tar.bz2 |
[SCSI] qla2xxx: Fix ISP restart bug in multiq code
After restarting ISP the additional queues are not being setup correctly. The
following patch fixes the issue.
Please apply.
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mid.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_mid.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_mid.c b/drivers/scsi/qla2xxx/qla_mid.c index 8863231..f53179c4 100644 --- a/drivers/scsi/qla2xxx/qla_mid.c +++ b/drivers/scsi/qla2xxx/qla_mid.c @@ -629,6 +629,7 @@ qla25xx_create_req_que(struct qla_hw_data *ha, uint16_t options, req->ring_index = 0; req->cnt = req->length; req->id = que_id; + req->max_q_depth = ha->req_q_map[0]->max_q_depth; mutex_unlock(&ha->vport_lock); ret = qla25xx_init_req_que(base_vha, req, options); |