Fix probe in progress check in dareprobe
Reviewed by: mav Approved by: pjd (mentor) MFC after: 1 week
This commit is contained in:
parent
f68008595b
commit
dcf0e9d179
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250180
@ -3200,7 +3200,7 @@ dareprobe(struct cam_periph *periph)
|
|||||||
softc = (struct da_softc *)periph->softc;
|
softc = (struct da_softc *)periph->softc;
|
||||||
|
|
||||||
/* Probe in progress; don't interfere. */
|
/* Probe in progress; don't interfere. */
|
||||||
if ((softc->flags & DA_FLAG_PROBED) == 0)
|
if (softc->state != DA_STATE_NORMAL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
status = cam_periph_acquire(periph);
|
status = cam_periph_acquire(periph);
|
||||||
|
Loading…
Reference in New Issue
Block a user