Destroy driver mutex in device detach.
This commit is contained in:
parent
6dfe2c48c0
commit
2192f568cc
@ -373,7 +373,8 @@ et_detach(device_t dev)
|
||||
if_free(sc->ifp);
|
||||
|
||||
et_dma_free(dev);
|
||||
/* XXX Destroy lock here */
|
||||
|
||||
mtx_destroy(&sc->sc_mtx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user