mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=54277
@ -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 New Issue
Block a user