From bfe31f4f2a5602b47f94d5e1197be9df468d89b0 Mon Sep 17 00:00:00 2001 From: Bill Paul Date: Wed, 8 Dec 1999 02:00:10 +0000 Subject: [PATCH] Fix invocation of bus_teardown_intr(). The last arg is supposed to be sc->wi_intrhand, not &sc->wi_intrhand. --- sys/dev/wi/if_wi.c | 2 +- sys/i386/isa/if_wi.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index e5e8a016a26..0d36b80ad93 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -215,7 +215,7 @@ static int wi_pccard_detach(dev) wi_stop(sc); if_detach(ifp); - bus_teardown_intr(dev, sc->irq, &sc->wi_intrhand); + bus_teardown_intr(dev, sc->irq, sc->wi_intrhand); wi_free(dev); sc->wi_gone = 1; diff --git a/sys/i386/isa/if_wi.c b/sys/i386/isa/if_wi.c index e5e8a016a26..0d36b80ad93 100644 --- a/sys/i386/isa/if_wi.c +++ b/sys/i386/isa/if_wi.c @@ -215,7 +215,7 @@ static int wi_pccard_detach(dev) wi_stop(sc); if_detach(ifp); - bus_teardown_intr(dev, sc->irq, &sc->wi_intrhand); + bus_teardown_intr(dev, sc->irq, sc->wi_intrhand); wi_free(dev); sc->wi_gone = 1;