summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_vr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_vr.c')
-rw-r--r--sys/pci/if_vr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_vr.c b/sys/pci/if_vr.c
index 84bd474..2c6e933 100644
--- a/sys/pci/if_vr.c
+++ b/sys/pci/if_vr.c
@@ -915,7 +915,7 @@ vr_detach(dev)
ifp = &sc->arpcom.ac_if;
/* These should only be active if attach succeeded */
- if (device_is_alive(dev)) {
+ if (device_is_attached(dev)) {
vr_stop(sc);
ether_ifdetach(ifp);
}
OpenPOWER on IntegriCloud