aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_n.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/phy_n.c')
-rw-r--r--drivers/net/wireless/b43/phy_n.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c
index 9f5a3c993239..6c9aa5a5850a 100644
--- a/drivers/net/wireless/b43/phy_n.c
+++ b/drivers/net/wireless/b43/phy_n.c
@@ -3878,10 +3878,14 @@ static void b43_nphy_op_software_rfkill(struct b43_wldev *dev,
3878 } 3878 }
3879} 3879}
3880 3880
3881/* http://bcm-v4.sipsolutions.net/802.11/PHY/Anacore */
3881static void b43_nphy_op_switch_analog(struct b43_wldev *dev, bool on) 3882static void b43_nphy_op_switch_analog(struct b43_wldev *dev, bool on)
3882{ 3883{
3883 b43_phy_write(dev, B43_NPHY_AFECTL_OVER, 3884 u16 val = on ? 0 : 0x7FFF;
3884 on ? 0 : 0x7FFF); 3885
3886 if (dev->phy.rev >= 3)
3887 b43_phy_write(dev, B43_NPHY_AFECTL_OVER1, val);
3888 b43_phy_write(dev, B43_NPHY_AFECTL_OVER, val);
3885} 3889}
3886 3890
3887static int b43_nphy_op_switch_channel(struct b43_wldev *dev, 3891static int b43_nphy_op_switch_channel(struct b43_wldev *dev,