summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_os.c
diff options
context:
space:
mode:
authorChad Dupuis2013-02-08 07:58:04 +0100
committerJames Bottomley2013-02-22 16:06:24 +0100
commitf356bef134dda564fcbe3b41a5c7b932c1964326 (patch)
tree6a55a1e6c50cb12e93b90ef1cba54b6253cb4f0a /drivers/scsi/qla2xxx/qla_os.c
parent[SCSI] qla2xxx: Integrate generic card temperature with mezz card temperature. (diff)
downloadkernel-qcow2-linux-f356bef134dda564fcbe3b41a5c7b932c1964326.tar.gz
kernel-qcow2-linux-f356bef134dda564fcbe3b41a5c7b932c1964326.tar.xz
kernel-qcow2-linux-f356bef134dda564fcbe3b41a5c7b932c1964326.zip
[SCSI] qla2xxx: Wait for IDC complete event to finish loopback operation.
Wait for the IDC complete AEN before returning the loopback operation back to the application to make sure the port is put back into normal operations. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_os.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index c484e21c4df0..2c6dd3dfe0f4 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -2465,6 +2465,7 @@ qla2x00_probe_one(struct pci_dev *pdev, const struct pci_device_id *id)
complete(&ha->mbx_cmd_comp);
init_completion(&ha->mbx_intr_comp);
init_completion(&ha->dcbx_comp);
+ init_completion(&ha->lb_portup_comp);
set_bit(0, (unsigned long *) ha->vp_idx_map);