diff options
Diffstat (limited to 'hw/pcnet-pci.c')
-rw-r--r-- | hw/pcnet-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pcnet-pci.c b/hw/pcnet-pci.c index 26c90bf372..df63b22463 100644 --- a/hw/pcnet-pci.c +++ b/hw/pcnet-pci.c @@ -279,7 +279,7 @@ static void pci_pcnet_uninit(PCIDevice *dev) memory_region_destroy(&d->io_bar); qemu_del_timer(d->state.poll_timer); qemu_free_timer(d->state.poll_timer); - qemu_del_net_client(qemu_get_queue(d->state.nic)); + qemu_del_nic(d->state.nic); } static NetClientInfo net_pci_pcnet_info = { |