From 9362c121c8d3fb502e29c9f3a2962fe5ef237707 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
Date: Sun, 2 Dec 2012 16:09:23 +0000
Subject: [PATCH] b43-tools: pack the lcn firmware into the brcmsmac firmware
 package.

SVN-Revision: 34453
---
 .../patches/003-brcmsmac-lcn-ucode.patch      | 22 +++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 tools/b43-tools/patches/003-brcmsmac-lcn-ucode.patch

diff --git a/tools/b43-tools/patches/003-brcmsmac-lcn-ucode.patch b/tools/b43-tools/patches/003-brcmsmac-lcn-ucode.patch
new file mode 100644
index 0000000000..12966a558f
--- /dev/null
+++ b/tools/b43-tools/patches/003-brcmsmac-lcn-ucode.patch
@@ -0,0 +1,22 @@
+diff --git a/fwcutter/fwcutter.c b/fwcutter/fwcutter.c
+index 6f5788c..e9082f9 100644
+--- a/fwcutter/fwcutter.c
++++ b/fwcutter/fwcutter.c
+@@ -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;
-- 
GitLab