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>
This commit is contained in:
Don Brace 2017-05-04 17:51:10 -05:00 committed by Martin K. Petersen
parent ef8a520362
commit 3b476aa24d

View File

@ -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;
}