summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_rl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_rl.c')
-rw-r--r--sys/pci/if_rl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_rl.c b/sys/pci/if_rl.c
index 5ddff77..935ad1b 100644
--- a/sys/pci/if_rl.c
+++ b/sys/pci/if_rl.c
@@ -1101,7 +1101,7 @@ rl_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)) {
rl_stop(sc);
ether_ifdetach(ifp);
}
OpenPOWER on IntegriCloud