diff options
| author | Warner Losh <imp@FreeBSD.org> | 2003-04-21 18:34:04 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2003-04-21 18:34:04 +0000 |
| commit | 214073e5e40bb05206c2e00041a1b2dddb2e754d (patch) | |
| tree | 0f3c4bf02902f61a556e6b18052de79329cb82dd /sys/dev/dc | |
| parent | 1f27c12a7e39d466c372f957e66e2e6da8b7993d (diff) | |
Notes
Diffstat (limited to 'sys/dev/dc')
| -rw-r--r-- | sys/dev/dc/if_dc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dc/if_dc.c b/sys/dev/dc/if_dc.c index 1f872ec4cb7c..a350d47d4bdc 100644 --- a/sys/dev/dc/if_dc.c +++ b/sys/dev/dc/if_dc.c @@ -2316,7 +2316,7 @@ dc_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)) { dc_stop(sc); ether_ifdetach(ifp); } |
