summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_ti.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_ti.c')
-rw-r--r--sys/pci/if_ti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_ti.c b/sys/pci/if_ti.c
index 5046685..614a408 100644
--- a/sys/pci/if_ti.c
+++ b/sys/pci/if_ti.c
@@ -2377,7 +2377,7 @@ ti_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)) {
ti_stop(sc);
ether_ifdetach(ifp);
bus_generic_detach(dev);
OpenPOWER on IntegriCloud