b43: N-PHY: determine usage of radio regulatory workaround correctly
authorRafał Miłecki <zajec5@gmail.com>
Fri, 22 Oct 2010 15:43:48 +0000 (17:43 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:24:34 +0000 (13:24 -0500)
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_n.c

index e0f2d122e124486b7e1405eabd48ce80cdde54bb..c22dbfb987def53e39eb42d1b1e098d20b9d7a1d 100644 (file)
@@ -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) {