mirror of
https://github.com/dortania/OpenCore-Legacy-Patcher.git
synced 2026-04-23 11:30:15 +10:00
Avoid enabling AirportBrcmFixup without wifi
This commit is contained in:
@@ -274,7 +274,8 @@ class BuildOpenCore:
|
|||||||
else:
|
else:
|
||||||
print("- Unable to run Wireless hardware detection")
|
print("- Unable to run Wireless hardware detection")
|
||||||
|
|
||||||
if not self.constants.custom_model and self.computer.wifi:
|
if not self.constants.custom_model:
|
||||||
|
if self.computer.wifi:
|
||||||
if isinstance(self.computer.wifi, device_probe.Broadcom):
|
if isinstance(self.computer.wifi, device_probe.Broadcom):
|
||||||
# This works around OCLP spoofing the Wifi card and therefore unable to actually detect the correct device
|
# This works around OCLP spoofing the Wifi card and therefore unable to actually detect the correct device
|
||||||
if self.computer.wifi.chipset == device_probe.Broadcom.Chipsets.AirportBrcmNIC and self.constants.validate is False and self.computer.wifi.country_code:
|
if self.computer.wifi.chipset == device_probe.Broadcom.Chipsets.AirportBrcmNIC and self.constants.validate is False and self.computer.wifi.country_code:
|
||||||
|
|||||||
Reference in New Issue
Block a user