aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
Diffstat (limited to 'hw')
-rw-r--r--hw/usb-net.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/usb-net.c b/hw/usb-net.c
index 0f62f88340..56210b52ec 100644
--- a/hw/usb-net.c
+++ b/hw/usb-net.c
@@ -1418,7 +1418,8 @@ static void usb_net_handle_destroy(USBDevice *dev)
{
USBNetState *s = (USBNetState *) dev;
- /* FIXME: delete the VLAN client and the nic */
+ /* TODO: remove the nd_table[] entry */
+ qemu_del_vlan_client(s->vc);
rndis_clear_responsequeue(s);
qemu_free(s);
}