Skip to content

Commit

Permalink
b43: N-PHY: determine usage of radio regulatory workaround correctly
Browse files Browse the repository at this point in the history
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Nov 15, 2010
1 parent 7e6da2b commit 7a4db8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/net/wireless/b43/phy_n.c
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,8 @@ static void b43_radio_init2055_post(struct b43_wldev *dev)
binfo->type != 0x46D ||
binfo->rev < 0x41);
else
workaround = ((sprom->boardflags_hi & B43_BFH_NOPA) == 0);
workaround =
!(sprom->boardflags2_lo & B43_BFL2_RXBB_INT_REG_DIS);

b43_radio_mask(dev, B2055_MASTER1, 0xFFF3);
if (workaround) {
Expand Down

0 comments on commit 7a4db8f

Please sign in to comment.