linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH RFT] b43legacy: fix initvals loading on bcm4303
@ 2008-04-06 15:10 Stefano Brivio
  2008-04-13 23:11 ` Stefano Brivio
  0 siblings, 1 reply; 2+ messages in thread
From: Stefano Brivio @ 2008-04-06 15:10 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org, bcm43xx-dev; +Cc: John W. Linville

This allows for the correct initial values to be uploaded to bcm4303
devices. It should be correct, but I can't reliably test this as I suspect
there's something going wrong with an hardware rfkill switch on my laptop.
Please test.

Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
---
Please note that for this patch to be tested a previous patch:
'b43legacy: fix bcm4303 crash'
needs to be applied.
---
Index: bcm-testing/drivers/net/wireless/b43legacy/main.c
===================================================================
--- bcm-testing.orig/drivers/net/wireless/b43legacy/main.c
+++ bcm-testing/drivers/net/wireless/b43legacy/main.c
@@ -1516,6 +1516,7 @@ static int b43legacy_request_firmware(st
 	}
 	if (!fw->initvals) {
 		switch (dev->phy.type) {
+		case B43legacy_PHYTYPE_B:
 		case B43legacy_PHYTYPE_G:
 			if ((rev >= 5) && (rev <= 10))
 				filename = "b0g0initvals5";
@@ -1533,6 +1534,7 @@ static int b43legacy_request_firmware(st
 	}
 	if (!fw->initvals_band) {
 		switch (dev->phy.type) {
+		case B43legacy_PHYTYPE_B:
 		case B43legacy_PHYTYPE_G:
 			if ((rev >= 5) && (rev <= 10))
 				filename = "b0g0bsinitvals5";


--
Ciao
Stefano


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

* Re: [PATCH RFT] b43legacy: fix initvals loading on bcm4303
  2008-04-06 15:10 [PATCH RFT] b43legacy: fix initvals loading on bcm4303 Stefano Brivio
@ 2008-04-13 23:11 ` Stefano Brivio
  0 siblings, 0 replies; 2+ messages in thread
From: Stefano Brivio @ 2008-04-13 23:11 UTC (permalink / raw)
  To: John W. Linville; +Cc: linux-wireless@vger.kernel.org, bcm43xx-dev

On Sun, 6 Apr 2008 17:10:53 +0200
Stefano Brivio <stefano.brivio@polimi.it> wrote:

> This allows for the correct initial values to be uploaded to bcm4303
> devices. It should be correct, but I can't reliably test this as I suspect
> there's something going wrong with an hardware rfkill switch on my laptop.
> Please test.
> 
> Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
> ---
> [...]

John, please go ahead with this, as it makes bcm4303 devices partially
working.

Thanks.


--
Ciao
Stefano

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

end of thread, other threads:[~2008-04-13 23:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-06 15:10 [PATCH RFT] b43legacy: fix initvals loading on bcm4303 Stefano Brivio
2008-04-13 23:11 ` Stefano Brivio

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).