From: mikeb Date: Fri, 5 Aug 2016 11:36:24 +0000 (+0000) Subject: Fixup the condition that prevented heartbeat & co. from attaching X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1970447f147919089f8416f35f821b162710c139;p=openbsd Fixup the condition that prevented heartbeat & co. from attaching --- diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c index 94d21473a69..ddd21e3aceb 100644 --- a/sys/dev/pv/hyperv.c +++ b/sys/dev/pv/hyperv.c @@ -1628,7 +1628,7 @@ hv_attach_internal(struct hv_softc *sc) int i; TAILQ_FOREACH(ch, &sc->sc_channels, ch_entry) { - if (ch->ch_state != HV_CHANSTATE_OPENED) + if (ch->ch_state != HV_CHANSTATE_OFFERED) continue; if (ch->ch_flags & CHF_MONITOR) continue;