Fix invocation of bus_teardown_intr(). The last arg is supposed to be

sc->wi_intrhand, not &sc->wi_intrhand.
This commit is contained in:
Bill Paul 1999-12-08 02:00:10 +00:00
parent ef8e4c1291
commit bfe31f4f2a
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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;