diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-03-13 04:26:05 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-28 01:12:50 +0100 |
commit | d6509151bd3e952b7d157ea4dbae23279d427e95 (patch) | |
tree | cdea212bad40aa5196e068465de1443feb039353 /drivers/net/wireless/ath9k/hw.c | |
parent | ath9k: Introduce a helper function for setting board gain values (diff) | |
download | linux-d6509151bd3e952b7d157ea4dbae23279d427e95.tar.xz linux-d6509151bd3e952b7d157ea4dbae23279d427e95.zip |
ath9k: Change return type for set_board_values()
We always return true, checking for 'false' return value
is bogus anyway, so fix this.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/hw.c')
-rw-r--r-- | drivers/net/wireless/ath9k/hw.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath9k/hw.c b/drivers/net/wireless/ath9k/hw.c index 3dd054b21f5a..78e5763f7c1a 100644 --- a/drivers/net/wireless/ath9k/hw.c +++ b/drivers/net/wireless/ath9k/hw.c @@ -2277,11 +2277,7 @@ int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, else ath9k_hw_spur_mitigate(ah, chan); - if (!ah->eep_ops->set_board_values(ah, chan)) { - DPRINTF(ah->ah_sc, ATH_DBG_EEPROM, - "error setting board options\n"); - return -EIO; - } + ah->eep_ops->set_board_values(ah, chan); ath9k_hw_decrease_chain_power(ah, chan); |