b43-tools: pack the lcn firmware into the brcmsmac firmware package.
[lede-git/.git] / tools / b43-tools / patches / 003-brcmsmac-lcn-ucode.patch
1 diff --git a/fwcutter/fwcutter.c b/fwcutter/fwcutter.c
2 index 6f5788c..e9082f9 100644
3 --- a/fwcutter/fwcutter.c
4 +++ b/fwcutter/fwcutter.c
5 @@ -449,7 +449,7 @@ static int brcmsmac_name_to_idx(const char *name)
6                 return D11N0INITVALS16;
7         } else if (strcmp("ucode16_mimo", name) == 0) {
8                 return D11UCODE_OVERSIGHT16_MIMO;
9 -       } else if (strcmp("ucode24_mimo", name) == 0) {
10 +       } else if (strcmp("ucode24_lcn", name) == 0) {
11                 return D11UCODE_OVERSIGHT24_LCN;
12         }
13         return 0;
14 @@ -459,7 +459,7 @@ static int brcmsmac_name_to_size_idx(const char *name)
15  {
16         if (strcmp("ucode16_mimo", name) == 0) {
17                 return D11UCODE_OVERSIGHT16_MIMOSZ;
18 -       } else if (strcmp("ucode24_mimo", name) == 0) {
19 +       } else if (strcmp("ucode24_lcn", name) == 0) {
20                 return D11UCODE_OVERSIGHT24_LCNSZ;
21         }
22         return 0;