b43: N-PHY: use correct bit for controlling MAC and PHY
authorRafał Miłecki <zajec5@gmail.com>
Thu, 9 Dec 2010 19:55:58 +0000 (20:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 13 Dec 2010 20:23:29 +0000 (15:23 -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 61875c8882783c6304e27e6d666916b2cf0c816c..e12f399f7615d9950651f1dfb261379dbd46fe30 100644 (file)
@@ -3278,9 +3278,9 @@ static void b43_nphy_mac_phy_clock_set(struct b43_wldev *dev, bool on)
 {
        u32 tmslow = ssb_read32(dev->dev, SSB_TMSLOW);
        if (on)
-               tmslow |= SSB_TMSLOW_PHYCLK;
+               tmslow |= B43_TMSLOW_MACPHYCLKEN;
        else
-               tmslow &= ~SSB_TMSLOW_PHYCLK;
+               tmslow &= ~B43_TMSLOW_MACPHYCLKEN;
        ssb_write32(dev->dev, SSB_TMSLOW, tmslow);
 }