summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43legacy
diff options
context:
space:
mode:
authorStefano Brivio2008-04-06 17:10:53 +0200
committerJohn W. Linville2008-04-15 21:04:34 +0200
commit385f848a986b4677bc91e5f5f9033449a876819d (patch)
tree7d96dffa80b3e7315a64b502c4ed443710e27f7b /drivers/net/wireless/b43legacy
parentrtl8187: Add missing priv->vif assignments (diff)
downloadkernel-qcow2-linux-385f848a986b4677bc91e5f5f9033449a876819d.tar.gz
kernel-qcow2-linux-385f848a986b4677bc91e5f5f9033449a876819d.tar.xz
kernel-qcow2-linux-385f848a986b4677bc91e5f5f9033449a876819d.zip
b43legacy: fix initvals loading on bcm4303
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> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43legacy')
-rw-r--r--drivers/net/wireless/b43legacy/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43legacy/main.c b/drivers/net/wireless/b43legacy/main.c
index 5f3f34e1dbfd..0f7a6e7bd96a 100644
--- a/drivers/net/wireless/b43legacy/main.c
+++ b/drivers/net/wireless/b43legacy/main.c
@@ -1488,6 +1488,7 @@ static int b43legacy_request_firmware(struct b43legacy_wldev *dev)
}
if (!fw->initvals) {
switch (dev->phy.type) {
+ case B43legacy_PHYTYPE_B:
case B43legacy_PHYTYPE_G:
if ((rev >= 5) && (rev <= 10))
filename = "b0g0initvals5";
@@ -1505,6 +1506,7 @@ static int b43legacy_request_firmware(struct b43legacy_wldev *dev)
}
if (!fw->initvals_band) {
switch (dev->phy.type) {
+ case B43legacy_PHYTYPE_B:
case B43legacy_PHYTYPE_G:
if ((rev >= 5) && (rev <= 10))
filename = "b0g0bsinitvals5";