diff options
Diffstat (limited to 'drivers/net/wireless/ath5k/initvals.c')
-rw-r--r-- | drivers/net/wireless/ath5k/initvals.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath5k/initvals.c b/drivers/net/wireless/ath5k/initvals.c index ceaa6c475c06..450bd6e945ff 100644 --- a/drivers/net/wireless/ath5k/initvals.c +++ b/drivers/net/wireless/ath5k/initvals.c | |||
@@ -1681,7 +1681,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1681 | */ | 1681 | */ |
1682 | 1682 | ||
1683 | /* For AR5212 and combatible */ | 1683 | /* For AR5212 and combatible */ |
1684 | if (ah->ah_version == AR5K_AR5212){ | 1684 | if (ah->ah_version == AR5K_AR5212) { |
1685 | 1685 | ||
1686 | /* First set of mode-specific settings */ | 1686 | /* First set of mode-specific settings */ |
1687 | ath5k_hw_ini_mode_registers(ah, | 1687 | ath5k_hw_ini_mode_registers(ah, |
@@ -1695,7 +1695,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1695 | ar5212_ini, change_channel); | 1695 | ar5212_ini, change_channel); |
1696 | 1696 | ||
1697 | /* Second set of mode-specific settings */ | 1697 | /* Second set of mode-specific settings */ |
1698 | if (ah->ah_radio == AR5K_RF5111){ | 1698 | if (ah->ah_radio == AR5K_RF5111) { |
1699 | 1699 | ||
1700 | ath5k_hw_ini_mode_registers(ah, | 1700 | ath5k_hw_ini_mode_registers(ah, |
1701 | ARRAY_SIZE(ar5212_rf5111_ini_mode_end), | 1701 | ARRAY_SIZE(ar5212_rf5111_ini_mode_end), |
@@ -1706,7 +1706,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1706 | ARRAY_SIZE(rf5111_ini_bbgain), | 1706 | ARRAY_SIZE(rf5111_ini_bbgain), |
1707 | rf5111_ini_bbgain, change_channel); | 1707 | rf5111_ini_bbgain, change_channel); |
1708 | 1708 | ||
1709 | } else if (ah->ah_radio == AR5K_RF5112){ | 1709 | } else if (ah->ah_radio == AR5K_RF5112) { |
1710 | 1710 | ||
1711 | ath5k_hw_ini_mode_registers(ah, | 1711 | ath5k_hw_ini_mode_registers(ah, |
1712 | ARRAY_SIZE(ar5212_rf5112_ini_mode_end), | 1712 | ARRAY_SIZE(ar5212_rf5112_ini_mode_end), |
@@ -1716,7 +1716,7 @@ int ath5k_hw_write_initvals(struct ath5k_hw *ah, u8 mode, bool change_channel) | |||
1716 | ARRAY_SIZE(rf5112_ini_bbgain), | 1716 | ARRAY_SIZE(rf5112_ini_bbgain), |
1717 | rf5112_ini_bbgain, change_channel); | 1717 | rf5112_ini_bbgain, change_channel); |
1718 | 1718 | ||
1719 | } else if (ah->ah_radio == AR5K_RF5413){ | 1719 | } else if (ah->ah_radio == AR5K_RF5413) { |
1720 | 1720 | ||
1721 | ath5k_hw_ini_mode_registers(ah, | 1721 | ath5k_hw_ini_mode_registers(ah, |
1722 | ARRAY_SIZE(rf5413_ini_mode_end), | 1722 | ARRAY_SIZE(rf5413_ini_mode_end), |