Fix Wake on WLAN typo

Closes https://github.com/dortania/OpenCore-Legacy-Patcher/issues/383
This commit is contained in:
Mykola Grymalyuk
2021-07-12 12:03:41 -06:00
parent 18e3fa37ff
commit 418de07f84
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -3,6 +3,7 @@
## 0.2.4
- Fix BlessOverride typo
- Fix Wake on WLAN typo
## 0.2.3
+2 -2
View File
@@ -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: