mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
ef8e4c1291
commit
bfe31f4f2a
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue