diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2006-08-05 11:34:12 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2006-08-05 11:34:12 +0000 |
commit | b8580d3994ff4bbb64600ca9bc3687620931d43b (patch) | |
tree | b023500cf968cf2e25f77c147739151dc087c8ff /sys/dev/ic/acx.c | |
parent | 5374ce802a53785c05a0b7d64ec8aff56a46bd6b (diff) |
Be sure to call if_detach() so ghosts of hardware
don't come back to haunt us.
Diffstat (limited to 'sys/dev/ic/acx.c')
-rw-r--r-- | sys/dev/ic/acx.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/acx.c b/sys/dev/ic/acx.c index 5af3ff831ef..6eb14d7e79d 100644 --- a/sys/dev/ic/acx.c +++ b/sys/dev/ic/acx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acx.c,v 1.19 2006/08/05 09:07:35 damien Exp $ */ +/* $OpenBSD: acx.c,v 1.20 2006/08/05 11:34:11 jsg Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -366,6 +366,7 @@ acx_detach(void *xsc) acx_stop(sc); ieee80211_ifdetach(ifp); + if_detach(ifp); acx_dma_free(sc); |