scsi: qla2xxx: edif: Wait for app to ack on sess down
[linux-2.6-microblaze.git] / drivers / scsi / qla2xxx / qla_init.c
index 3f3417a..ec1722e 100644 (file)
@@ -1480,7 +1480,6 @@ static int        qla_chk_secure_login(scsi_qla_host_t    *vha, fc_port_t *fcport,
                                ql_dbg(ql_dbg_disc, vha, 0x20ef,
                                    "%s %d %8phC EDIF: post DB_AUTH: AUTH needed\n",
                                    __func__, __LINE__, fcport->port_name);
-                               fcport->edif.app_started = 1;
                                fcport->edif.app_sess_online = 1;
 
                                qla_edb_eventcreate(vha, VND_CMD_AUTH_STATE_NEEDED,
@@ -5273,9 +5272,6 @@ qla2x00_alloc_fcport(scsi_qla_host_t *vha, gfp_t flags)
        INIT_LIST_HEAD(&fcport->edif.tx_sa_list);
        INIT_LIST_HEAD(&fcport->edif.rx_sa_list);
 
-       if (vha->e_dbell.db_flags == EDB_ACTIVE)
-               fcport->edif.app_started = 1;
-
        spin_lock_init(&fcport->edif.indx_list_lock);
        INIT_LIST_HEAD(&fcport->edif.edif_indx_list);