diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 41669357b186..58edc0deb74b 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -2003,13 +2003,13 @@ skip_dpc: | |||
2003 | DEBUG2(printk("DEBUG: detect hba %ld at address = %p\n", | 2003 | DEBUG2(printk("DEBUG: detect hba %ld at address = %p\n", |
2004 | base_vha->host_no, ha)); | 2004 | base_vha->host_no, ha)); |
2005 | 2005 | ||
2006 | base_vha->flags.init_done = 1; | ||
2007 | base_vha->flags.online = 1; | ||
2008 | |||
2009 | ret = scsi_add_host(host, &pdev->dev); | 2006 | ret = scsi_add_host(host, &pdev->dev); |
2010 | if (ret) | 2007 | if (ret) |
2011 | goto probe_failed; | 2008 | goto probe_failed; |
2012 | 2009 | ||
2010 | base_vha->flags.init_done = 1; | ||
2011 | base_vha->flags.online = 1; | ||
2012 | |||
2013 | ha->isp_ops->enable_intrs(ha); | 2013 | ha->isp_ops->enable_intrs(ha); |
2014 | 2014 | ||
2015 | scsi_scan_host(host); | 2015 | scsi_scan_host(host); |