diff --git a/Library/OcAppleKernelLib/CpuidPatches.c b/Library/OcAppleKernelLib/CpuidPatches.c index c0a9267e..7a248653 100644 --- a/Library/OcAppleKernelLib/CpuidPatches.c +++ b/Library/OcAppleKernelLib/CpuidPatches.c @@ -1301,12 +1301,13 @@ PatchProvideCurrentCpuInfoMSR35h ( Patcher, &mProvideCurrentCpuInfoTopologyCorePerPackageV1Patch ); - if (EFI_ERROR (Status)) { - Status = PatcherApplyGenericPatch ( - Patcher, - &mProvideCurrentCpuInfoTopologyCorePerPackageV1_5Patch - ); - } + } + + if (EFI_ERROR (Status)) { + Status = PatcherApplyGenericPatch ( + Patcher, + &mProvideCurrentCpuInfoTopologyCorePerPackageV1_5Patch + ); } DEBUG ((DEBUG_INFO, "OCAK: Patching core per package count - %r\n", Status));