diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 34ba576d2747..0f3b9beca2c1 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -1768,13 +1768,13 @@ ath5k_hw_set_fast_div(struct ath5k_hw *ah, u8 ee_mode, bool enable) | |||
1768 | 1768 | ||
1769 | if (enable) { | 1769 | if (enable) { |
1770 | AR5K_REG_WRITE_BITS(ah, AR5K_PHY_RESTART, | 1770 | AR5K_REG_WRITE_BITS(ah, AR5K_PHY_RESTART, |
1771 | AR5K_PHY_RESTART_DIV_GC, 0xc); | 1771 | AR5K_PHY_RESTART_DIV_GC, 1); |
1772 | 1772 | ||
1773 | AR5K_REG_ENABLE_BITS(ah, AR5K_PHY_FAST_ANT_DIV, | 1773 | AR5K_REG_ENABLE_BITS(ah, AR5K_PHY_FAST_ANT_DIV, |
1774 | AR5K_PHY_FAST_ANT_DIV_EN); | 1774 | AR5K_PHY_FAST_ANT_DIV_EN); |
1775 | } else { | 1775 | } else { |
1776 | AR5K_REG_WRITE_BITS(ah, AR5K_PHY_RESTART, | 1776 | AR5K_REG_WRITE_BITS(ah, AR5K_PHY_RESTART, |
1777 | AR5K_PHY_RESTART_DIV_GC, 0x8); | 1777 | AR5K_PHY_RESTART_DIV_GC, 0); |
1778 | 1778 | ||
1779 | AR5K_REG_DISABLE_BITS(ah, AR5K_PHY_FAST_ANT_DIV, | 1779 | AR5K_REG_DISABLE_BITS(ah, AR5K_PHY_FAST_ANT_DIV, |
1780 | AR5K_PHY_FAST_ANT_DIV_EN); | 1780 | AR5K_PHY_FAST_ANT_DIV_EN); |