aboutsummaryrefslogtreecommitdiff
path: root/sys/netgraph/bluetooth
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2005-10-26 15:52:16 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2005-10-26 15:52:16 +0000
commit284b6708c4d1639c3cb59204738d505d50619682 (patch)
tree4f366617633d12819337044049ec8e46b640bfd4 /sys/netgraph/bluetooth
parentfe486a370af0c13a185fc225d9703e88d3705c9f (diff)
Notes
Diffstat (limited to 'sys/netgraph/bluetooth')
-rw-r--r--sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
index 29989270e5ec..ce9cfb286472 100644
--- a/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
+++ b/sys/netgraph/bluetooth/drivers/bt3c/ng_bt3c_pccard.c
@@ -682,7 +682,7 @@ bt3c_pccard_attach(device_t dev)
return (0);
bad:
if (sc->ith != NULL) {
- intr_event_remove_handler(sc->ith);
+ swi_remove(sc->ith);
sc->ith = NULL;
}
@@ -724,7 +724,7 @@ bt3c_pccard_detach(device_t dev)
device_set_softc(dev, NULL);
- intr_event_remove_handler(sc->ith);
+ swi_remove(sc->ith);
sc->ith = NULL;
bus_teardown_intr(dev, sc->irq, sc->irq_cookie);