diff --git a/Scripts/acpi_guru.py b/Scripts/acpi_guru.py index 16880ce..373e7fd 100644 --- a/Scripts/acpi_guru.py +++ b/Scripts/acpi_guru.py @@ -3159,7 +3159,7 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "WMIS", 0x00000000) else: selected_patches.append("PLUG") - if not any(network_props.get("Device ID") in pci_data.WirelessCardIDs + pci_data.EthernetIDs for network_props in hardware_report.get("Network", {}).values()): + if not hardware_report.get("Network"): selected_patches.append("RMNE") if hardware_report.get("Motherboard").get("Chipset") in ("C610/X99", "Wellsburg", "X299"): diff --git a/Scripts/kext_maestro.py b/Scripts/kext_maestro.py index 3845945..89396b5 100644 --- a/Scripts/kext_maestro.py +++ b/Scripts/kext_maestro.py @@ -152,7 +152,6 @@ class KextMaestro: if needs_oclp: selected_kexts.extend(("AMFIPass", "RestrictEvents")) - ethernet_device = None for network_name, network_props in hardware_report.get("Network", {}).items(): device_id = network_props.get("Device ID") @@ -237,7 +236,7 @@ class KextMaestro: elif device_id in pci_data.IntelX500IDs: selected_kexts.append("IntelLucy") - if not ethernet_device: + if not hardware_report.get("Network"): selected_kexts.append("NullEthernet") for bluetooth_name, bluetooth_props in hardware_report.get("Bluetooth", {}).items():