diff options
Diffstat (limited to 'drivers/net/wireless/ath9k/eeprom.c')
-rw-r--r-- | drivers/net/wireless/ath9k/eeprom.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath9k/eeprom.c b/drivers/net/wireless/ath9k/eeprom.c index c3bb1968bb5e..973b576c0ad8 100644 --- a/drivers/net/wireless/ath9k/eeprom.c +++ b/drivers/net/wireless/ath9k/eeprom.c | |||
@@ -1232,7 +1232,7 @@ static void ath9k_hw_4k_set_gain(struct ath_hw *ah, | |||
1232 | REG_WRITE(ah, AR9285_AN_TOP4, (AR9285_AN_TOP4_DEFAULT | 0x14)); | 1232 | REG_WRITE(ah, AR9285_AN_TOP4, (AR9285_AN_TOP4_DEFAULT | 0x14)); |
1233 | } | 1233 | } |
1234 | 1234 | ||
1235 | static bool ath9k_hw_4k_set_board_values(struct ath_hw *ah, | 1235 | static void ath9k_hw_4k_set_board_values(struct ath_hw *ah, |
1236 | struct ath9k_channel *chan) | 1236 | struct ath9k_channel *chan) |
1237 | { | 1237 | { |
1238 | struct modal_eep_4k_header *pModal; | 1238 | struct modal_eep_4k_header *pModal; |
@@ -1378,8 +1378,6 @@ static bool ath9k_hw_4k_set_board_values(struct ath_hw *ah, | |||
1378 | AR_PHY_SETTLING_SWITCH, | 1378 | AR_PHY_SETTLING_SWITCH, |
1379 | pModal->swSettleHt40); | 1379 | pModal->swSettleHt40); |
1380 | } | 1380 | } |
1381 | |||
1382 | return true; | ||
1383 | } | 1381 | } |
1384 | 1382 | ||
1385 | static u16 ath9k_hw_4k_get_eeprom_antenna_cfg(struct ath_hw *ah, | 1383 | static u16 ath9k_hw_4k_get_eeprom_antenna_cfg(struct ath_hw *ah, |
@@ -1718,7 +1716,7 @@ static void ath9k_hw_def_set_gain(struct ath_hw *ah, | |||
1718 | } | 1716 | } |
1719 | } | 1717 | } |
1720 | 1718 | ||
1721 | static bool ath9k_hw_def_set_board_values(struct ath_hw *ah, | 1719 | static void ath9k_hw_def_set_board_values(struct ath_hw *ah, |
1722 | struct ath9k_channel *chan) | 1720 | struct ath9k_channel *chan) |
1723 | { | 1721 | { |
1724 | struct modal_eep_header *pModal; | 1722 | struct modal_eep_header *pModal; |
@@ -1884,8 +1882,6 @@ static bool ath9k_hw_def_set_board_values(struct ath_hw *ah, | |||
1884 | AR_PHY_TX_DESIRED_SCALE_CCK, | 1882 | AR_PHY_TX_DESIRED_SCALE_CCK, |
1885 | eep->baseEepHeader.desiredScaleCCK); | 1883 | eep->baseEepHeader.desiredScaleCCK); |
1886 | } | 1884 | } |
1887 | |||
1888 | return true; | ||
1889 | } | 1885 | } |
1890 | 1886 | ||
1891 | static void ath9k_hw_def_set_addac(struct ath_hw *ah, | 1887 | static void ath9k_hw_def_set_addac(struct ath_hw *ah, |