[SCSI] pm8001: bit set pm8001_ha->flags
authorjack wang <jack_wang@usish.com>
Mon, 7 Dec 2009 09:22:59 +0000 (17:22 +0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 10 Dec 2009 16:06:16 +0000 (10:06 -0600)
Signed-off-by: Jack Wang <jack_wang@usish.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/pm8001/pm8001_sas.c

index 487f78ff750b897c618c8d696102f46ef90e60ac..c86f92160c7a1c5557b7741c5cf408d9f601bcc9 100644 (file)
@@ -656,7 +656,7 @@ static int pm8001_dev_found_notify(struct domain_device *dev)
        wait_for_completion(&completion);
        if (dev->dev_type == SAS_END_DEV)
                msleep(50);
-       pm8001_ha->flags = PM8001F_RUN_TIME ;
+       pm8001_ha->flags |= PM8001F_RUN_TIME ;
        return 0;
 found_out:
        spin_unlock_irqrestore(&pm8001_ha->lock, flags);