Commit 3b476aa2 authored by Don Brace's avatar Don Brace Committed by Martin K. Petersen

scsi: hpsa: rescan later if reset in progress

- schedule another scan.
- mark current scan as completed.
Reviewed-by: default avatarScott Benesh <scott.benesh@microsemi.com>
Reviewed-by: default avatarScott Teel <scott.teel@microsemi.com>
Reviewed-by: default avatarKevin Barnett <kevin.barnett@microsemi.com>
Signed-off-by: default avatarDon Brace <don.brace@microsemi.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent ef8a5203
...@@ -5620,6 +5620,7 @@ static void hpsa_scan_start(struct Scsi_Host *sh) ...@@ -5620,6 +5620,7 @@ static void hpsa_scan_start(struct Scsi_Host *sh)
*/ */
if (h->reset_in_progress) { if (h->reset_in_progress) {
h->drv_req_rescan = 1; h->drv_req_rescan = 1;
hpsa_scan_complete(h);
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment