Skip to content

Commit

Permalink
Minor improvement in initialising of amount of kexts
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Lvov committed May 2, 2022
1 parent 6febdf8 commit 4fc82e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AirportBrcmFixup/kern_brcmfx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Only used in apple-driven callbacks
static BRCMFX *callbackBRCMFX {nullptr};
static const char *kextIOPCIFamilyPath = "/System/Library/Extensions/IOPCIFamily.kext/IOPCIFamily";
static const size_t kextListSize {5};
static const size_t kextListSize {MaxServices+1};
static bool kext_handled[kextListSize] {};

static KernelPatcher::KextInfo kextList[kextListSize] {
Expand Down

0 comments on commit 4fc82e2

Please sign in to comment.