Skip to content
Snippets Groups Projects
Commit 6a1578c2 authored by Dor Laor's avatar Dor Laor
Browse files

Reset the driver status on the destructor

parent e0869e06
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ namespace virtio {
virtio_blk::~virtio_blk()
{
set_dev_status(0);
}
bool virtio_blk::Init(Device *d)
......
......@@ -15,7 +15,7 @@ namespace virtio {
virtio_net::~virtio_net()
{
set_dev_status(0);
}
bool virtio_net::Init(Device *d)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment