b43-fwcutter: pack correct ucode for brcmsmac fw
authorHauke Mehrtens <hauke@hauke-m.de>
Thu, 6 Dec 2012 21:44:58 +0000 (22:44 +0100)
committerMichael Buesch <m@bues.ch>
Fri, 7 Dec 2012 13:15:54 +0000 (14:15 +0100)
brcmsmac supports only lcn-phy core with core rev 24 and no n-phy cores
with core rev 24, so pack the correct ucode image into the firmware
package.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Michael Buesch <m@bues.ch>
fwcutter/fwcutter.c

index 6f5788c535aaf584f34cf20ed20e7d281d9689b8..e9082f95fbeca1146a57b8047efa4dcdabb6fcf9 100644 (file)
@@ -449,7 +449,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 +459,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;