summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath9k/hw.c
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-03-13 08:56:05 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-03-27 20:12:50 -0400
commitd6509151bd3e952b7d157ea4dbae23279d427e95 (patch)
treecdea212bad40aa5196e068465de1443feb039353 /drivers/net/wireless/ath9k/hw.c
parenta83615d74d9b952f24c904baad58610ed9d76838 (diff)
downloadblackbird-op-linux-d6509151bd3e952b7d157ea4dbae23279d427e95.tar.gz
blackbird-op-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.c6
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);
OpenPOWER on IntegriCloud