b43-dev.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] b43-fwcutter: pack correct ucode for brcmsmac fw
@ 2012-12-06 21:44 Hauke Mehrtens
  2012-12-07 13:17 ` Michael Büsch
  0 siblings, 1 reply; 4+ messages in thread
From: Hauke Mehrtens @ 2012-12-06 21:44 UTC (permalink / raw)
  To: b43-dev

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>
---
 fwcutter/fwcutter.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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;
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-12-07 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-06 21:44 [PATCH] b43-fwcutter: pack correct ucode for brcmsmac fw Hauke Mehrtens
2012-12-07 13:17 ` Michael Büsch
2012-12-07 16:12   ` Hauke Mehrtens
2012-12-07 18:22     ` Michael Büsch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).