aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-02-21 13:38:58 -0500
committerJohn W. Linville <linville@tuxdriver.com>2011-02-23 16:25:29 -0500
commit9c1f992c777d350b8c3b3e5c524decc131bcda28 (patch)
tree69ae88120d518d04b80dd621136f6a026648ec4d /drivers/net/wireless/b43
parent512c044a299f133c8dc86dd5fa6378d745489286 (diff)
b43: N-PHY: fix 0x2055 radio workaround condition
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r--drivers/net/wireless/b43/phy_n.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index ab81ed8b19d7..00377b687384 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -430,9 +430,9 @@ static void b43_radio_init2055_post(struct b43_wldev *dev)
430 bool workaround = false; 430 bool workaround = false;
431 431
432 if (sprom->revision < 4) 432 if (sprom->revision < 4)
433 workaround = (binfo->vendor != PCI_VENDOR_ID_BROADCOM || 433 workaround = (binfo->vendor != PCI_VENDOR_ID_BROADCOM &&
434 binfo->type != 0x46D || 434 binfo->type == 0x46D &&
435 binfo->rev < 0x41); 435 binfo->rev >= 0x41);
436 else 436 else
437 workaround = 437 workaround =
438 !(sprom->boardflags2_lo & B43_BFL2_RXBB_INT_REG_DIS); 438 !(sprom->boardflags2_lo & B43_BFL2_RXBB_INT_REG_DIS);