From 418de07f8427425d7de95121e1885c715b878a8e Mon Sep 17 00:00:00 2001 From: Mykola Grymalyuk <48863253+khronokernel@users.noreply.github.com> Date: Mon, 12 Jul 2021 12:03:41 -0600 Subject: [PATCH] Fix Wake on WLAN typo Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/383 --- CHANGELOG.md | 1 + Resources/Build.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc2cff8a6..41f999c8a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ ## 0.2.4 - Fix BlessOverride typo +- Fix Wake on WLAN typo ## 0.2.3 diff --git a/Resources/Build.py b/Resources/Build.py index cd8bbfe98..0cb695d6b 100644 --- a/Resources/Build.py +++ b/Resources/Build.py @@ -260,7 +260,7 @@ class BuildOpenCore: self.config["DeviceProperties"]["Add"][arpt_path].update({"brcmfx-country": self.computer.wifi.country_code}) if self.constants.enable_wake_on_wlan is True: print("- Enabling Wake on WLAN support") - self.config["DeviceProperties"]["Add"][arpt_path].update({"brcmfxwowl": binascii.unhexlify("01000000")}) + self.config["DeviceProperties"]["Add"][arpt_path].update({"brcmfx-wowl": binascii.unhexlify("01000000")}) # WiFi patches # TODO: -a is not supported in Lion and older, need to add proper fix @@ -285,7 +285,7 @@ class BuildOpenCore: self.config["DeviceProperties"]["Add"][arpt_path] = {"brcmfx-country": self.computer.wifi.country_code} if self.constants.enable_wake_on_wlan is True: print("- Enabling Wake on WLAN support") - self.config["DeviceProperties"]["Add"][arpt_path].update({"brcmfxwowl": binascii.unhexlify("01000000")}) + self.config["DeviceProperties"]["Add"][arpt_path].update({"brcmfx-wowl": binascii.unhexlify("01000000")}) else: self.config["NVRAM"]["Add"]["7C436110-AB2A-4BBB-A880-FE41995C9F82"]["boot-args"] += f" brcmfx-country={self.computer.wifi.country_code}" if self.constants.enable_wake_on_wlan is True: