summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_tl.c')
-rw-r--r--sys/pci/if_tl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_tl.c b/sys/pci/if_tl.c
index ebe64cc..4fb66ee 100644
--- a/sys/pci/if_tl.c
+++ b/sys/pci/if_tl.c
@@ -1349,7 +1349,7 @@ tl_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)) {
tl_stop(sc);
ether_ifdetach(ifp);
}
OpenPOWER on IntegriCloud