X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=fwcutter%2Ffwcutter.c;h=3591eb2620401dd27558d7d3b2be9e8c60a909de;hb=d5a5fc3554148070fa15d9fc555a6de24108a18d;hp=6f5788c535aaf584f34cf20ed20e7d281d9689b8;hpb=f1549d5c91a55ac13f3a59f76da7cc1f8db67586;p=b43-tools.git diff --git a/fwcutter/fwcutter.c b/fwcutter/fwcutter.c index 6f5788c..3591eb2 100644 --- a/fwcutter/fwcutter.c +++ b/fwcutter/fwcutter.c @@ -40,6 +40,8 @@ #if defined(__DragonFly__) || defined(__FreeBSD__) #include +#elif defined(__APPLE__) +#include #else #include #endif @@ -449,7 +451,7 @@ static int brcmsmac_name_to_idx(const char *name) return D11N0INITVALS16; } else if (strcmp("ucode16_mimo", name) == 0) { return D11UCODE_OVERSIGHT16_MIMO; - } else if (strcmp("ucode24_mimo", name) == 0) { + } else if (strcmp("ucode24_lcn", name) == 0) { return D11UCODE_OVERSIGHT24_LCN; } return 0; @@ -459,7 +461,7 @@ static int brcmsmac_name_to_size_idx(const char *name) { if (strcmp("ucode16_mimo", name) == 0) { return D11UCODE_OVERSIGHT16_MIMOSZ; - } else if (strcmp("ucode24_mimo", name) == 0) { + } else if (strcmp("ucode24_lcn", name) == 0) { return D11UCODE_OVERSIGHT24_LCNSZ; } return 0;