Skip to content

Commit daf0db0

Browse files
philmdvivier
authored andcommitted
hw/remote/proxy: Categorize Wireless devices as 'Network' ones
QEMU doesn't distinct network devices per link layer (Ethernet, Wi-Fi, CAN, ...). Categorize PCI Wireless cards as Network devices. Signed-off-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Jagannathan Raman <[email protected]> Message-Id: <[email protected]> Signed-off-by: Laurent Vivier <[email protected]>
1 parent 196fb7a commit daf0db0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hw/remote/proxy.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ static void probe_pci_info(PCIDevice *dev, Error **errp)
324324
set_bit(DEVICE_CATEGORY_STORAGE, dc->categories);
325325
break;
326326
case PCI_BASE_CLASS_NETWORK:
327+
case PCI_BASE_CLASS_WIRELESS:
327328
set_bit(DEVICE_CATEGORY_NETWORK, dc->categories);
328329
break;
329330
case PCI_BASE_CLASS_INPUT:

0 commit comments

Comments
 (0)