diff options
Diffstat (limited to 'sys/dev/sf/if_sf.c')
-rw-r--r-- | sys/dev/sf/if_sf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sf/if_sf.c b/sys/dev/sf/if_sf.c index 511e450..af40295 100644 --- a/sys/dev/sf/if_sf.c +++ b/sys/dev/sf/if_sf.c @@ -829,7 +829,7 @@ sf_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)) { sf_stop(sc); ether_ifdetach(ifp); } |