summaryrefslogtreecommitdiff
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorDon Brace <don.brace@microsemi.com>2017-05-04 17:51:10 -0500
committerMartin K. Petersen <martin.petersen@oracle.com>2017-06-12 20:48:01 -0400
commit3b476aa24d44ffb68167d1442f8d12319ef4f183 (patch)
tree2ff57978a1bdcdb04ebba99262bfab7a10178488 /drivers/scsi/hpsa.c
parentef8a52036268d0f8b5a77f6e34a1d09b0a7fdfdc (diff)
scsi: hpsa: rescan later if reset in progress
- schedule another scan. - mark current scan as completed. Reviewed-by: Scott Benesh <scott.benesh@microsemi.com> Reviewed-by: Scott Teel <scott.teel@microsemi.com> Reviewed-by: Kevin Barnett <kevin.barnett@microsemi.com> Signed-off-by: Don Brace <don.brace@microsemi.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 2990897b40e0..53a4f34e73c2 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -5620,6 +5620,7 @@ static void hpsa_scan_start(struct Scsi_Host *sh)
*/
if (h->reset_in_progress) {
h->drv_req_rescan = 1;
+ hpsa_scan_complete(h);
return;
}