[SCSI] qla2xxx: Wait for IDC complete event to finish loopback operation.
authorChad Dupuis <chad.dupuis@qlogic.com>
Fri, 8 Feb 2013 06:58:04 +0000 (01:58 -0500)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 15:06:24 +0000 (15:06 +0000)
commitf356bef134dda564fcbe3b41a5c7b932c1964326
tree6a55a1e6c50cb12e93b90ef1cba54b6253cb4f0a
parentfe52f6e121a8e6b66a608b79deb1c383e08aa32f
[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>
drivers/scsi/qla2xxx/qla_bsg.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_os.c