From b480c457a636811b8d54af4606ca7fef35797308 Mon Sep 17 00:00:00 2001 From: Hoang Hong Quan Date: Mon, 14 Oct 2024 04:25:33 +0700 Subject: [PATCH] For configurations without any supported network hardware --- Scripts/acpi_guru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index 8e1205a..e8a5335 100644 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -3196,7 +3196,7 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "SURFACE", 0x00001000) selected_patches.append("PLUG") ethernet_pci = None - for network_name, network_props in hardware_report.get("Network").items(): + for network_name, network_props in hardware_report.get("Network", {}).items(): device_id = network_props.get("Device ID") if self.utils.contains_any(pci_data.NetworkIDs, device_id, start=108, end=219):