From a6c9e8760ce026e780698afb122f9fd0fb4e59cb Mon Sep 17 00:00:00 2001 From: Karen Higgins Date: Sat, 10 Jul 2010 14:51:17 +0530 Subject: [PATCH] --- yaml --- r: 204220 b: refs/heads/master c: bb6f7d5b71356be560ea84dd5a721f083d3a9e8e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/scsi/qla4xxx/ql4_init.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index 8502b9049ddb..bd6aa89aab3b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c2660df310a3c445194748b54f51b7224639e742 +refs/heads/master: bb6f7d5b71356be560ea84dd5a721f083d3a9e8e diff --git a/trunk/drivers/scsi/qla4xxx/ql4_init.c b/trunk/drivers/scsi/qla4xxx/ql4_init.c index 5fc19c44bada..e6b73b9fcc5a 100644 --- a/trunk/drivers/scsi/qla4xxx/ql4_init.c +++ b/trunk/drivers/scsi/qla4xxx/ql4_init.c @@ -991,6 +991,9 @@ static int qla4xxx_initialize_ddb_list(struct scsi_qla_host *ha) qla4xxx_flush_AENS(ha); + /* Wait for an AEN */ + qla4xxx_devices_ready(ha); + /* * First perform device discovery for active * fw ddb indexes and build @@ -999,9 +1002,6 @@ static int qla4xxx_initialize_ddb_list(struct scsi_qla_host *ha) if ((status = qla4xxx_build_ddb_list(ha)) == QLA_ERROR) return status; - /* Wait for an AEN */ - qla4xxx_devices_ready(ha); - /* * Targets can come online after the inital discovery, so processing * the aens here will catch them.