Commit f61afc29 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

b43: N-PHY: use correct bit for controlling MAC and PHY

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent f7e0104c
...@@ -3278,9 +3278,9 @@ static void b43_nphy_mac_phy_clock_set(struct b43_wldev *dev, bool on) ...@@ -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); u32 tmslow = ssb_read32(dev->dev, SSB_TMSLOW);
if (on) if (on)
tmslow |= SSB_TMSLOW_PHYCLK; tmslow |= B43_TMSLOW_MACPHYCLKEN;
else else
tmslow &= ~SSB_TMSLOW_PHYCLK; tmslow &= ~B43_TMSLOW_MACPHYCLKEN;
ssb_write32(dev->dev, SSB_TMSLOW, tmslow); ssb_write32(dev->dev, SSB_TMSLOW, tmslow);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment