summaryrefslogtreecommitdiff
path: root/sys/dev/pv/hyperv.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-05 11:36:25 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-08-05 11:36:25 +0000
commitdc9fcf22b177e590838192fc38ea4fd9c46df7ca (patch)
tree1ef308b9961831cbee6f9a9af9d1df16e3915508 /sys/dev/pv/hyperv.c
parentc0a729332fc9f157ab11edb9b535de0c3eb62700 (diff)
Fixup the condition that prevented heartbeat & co. from attaching
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r--sys/dev/pv/hyperv.c2
1 files changed, 1 insertions, 1 deletions
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;