Fix device property assignment for network devices

This commit is contained in:
Hoang Hong Quan
2025-04-25 15:46:38 +07:00
parent 5d1f65c4b7
commit 334e87ee1f

View File

@@ -380,7 +380,7 @@ class ConfigProdigy:
add_device_property(network_props.get("PCI Path"), {"IOName": "pci14e4,43a0"})
if not network_props.get("ACPI Path"):
add_device_property(device_props.get("PCI Path"), {"built-in": "01"})
add_device_property(network_props.get("PCI Path"), {"built-in": "01"})
for device_name, device_props in hardware_report.get("Storage Controllers", {}).items():
if not device_props.get("ACPI Path"):