1
0
Fork 0

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>
hifive-unleashed-5.1
Rafał Miłecki 2011-02-21 19:38:58 +01:00 committed by John W. Linville
parent 512c044a29
commit 9c1f992c77
1 changed files with 3 additions and 3 deletions

View File

@ -430,9 +430,9 @@ static void b43_radio_init2055_post(struct b43_wldev *dev)
bool workaround = false;
if (sprom->revision < 4)
workaround = (binfo->vendor != PCI_VENDOR_ID_BROADCOM ||
binfo->type != 0x46D ||
binfo->rev < 0x41);
workaround = (binfo->vendor != PCI_VENDOR_ID_BROADCOM &&
binfo->type == 0x46D &&
binfo->rev >= 0x41);
else
workaround =
!(sprom->boardflags2_lo & B43_BFL2_RXBB_INT_REG_DIS);