summaryrefslogtreecommitdiff
path: root/tools/b43-tools/patches
diff options
context:
space:
mode:
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-02 16:09:23 +0000
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-12-02 16:09:23 +0000
commit1bfb8f59fd968d8c32735ec5d9620ca70e270bc8 (patch)
tree182d7c9966c4f8fa068c10a3006d700656751a29 /tools/b43-tools/patches
parentc701e898747e29980b8f2c7b8890cd7f03bacf1a (diff)
b43-tools: pack the lcn firmware into the brcmsmac firmware package.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34453 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/b43-tools/patches')
-rw-r--r--tools/b43-tools/patches/003-brcmsmac-lcn-ucode.patch22
1 files changed, 22 insertions, 0 deletions
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;