diff options
Diffstat (limited to 'sys/pci/if_ste.c')
-rw-r--r-- | sys/pci/if_ste.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/if_ste.c b/sys/pci/if_ste.c index 3c913a0..1377c45 100644 --- a/sys/pci/if_ste.c +++ b/sys/pci/if_ste.c @@ -1089,7 +1089,7 @@ ste_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)) { ste_stop(sc); ether_ifdetach(ifp); } |