1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Fix probe in progress check in dareprobe

Reviewed by:	mav
Approved by:	pjd (mentor)
MFC after:	1 week
This commit is contained in:
Steven Hartland 2013-05-02 14:19:42 +00:00
parent f68008595b
commit dcf0e9d179
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250180

View File

@ -3200,7 +3200,7 @@ dareprobe(struct cam_periph *periph)
softc = (struct da_softc *)periph->softc;
/* Probe in progress; don't interfere. */
if ((softc->flags & DA_FLAG_PROBED) == 0)
if (softc->state != DA_STATE_NORMAL)
return;
status = cam_periph_acquire(periph);