summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/calib.h
diff options
context:
space:
mode:
authorSujith <Sujith.Manoharan@atheros.com>2009-04-13 21:56:48 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-04-22 16:54:46 -0400
commit379f04407c92d84f2506385b66fb9fc89ecd96c3 (patch)
tree369e64ee62bbe9c331fe804b433f295bebd385e1 /drivers/net/wireless/ath/ath9k/calib.h
parent415f738ecf41b427921b503ecfd427e26f89dc23 (diff)
downloadblackbird-op-linux-379f04407c92d84f2506385b66fb9fc89ecd96c3.tar.gz
blackbird-op-linux-379f04407c92d84f2506385b66fb9fc89ecd96c3.zip
ath9k: Cleanup calibration interface
This patch cleans up the functions dealing with calibration, using proper return values. ath9k_hw_per_calibration(), ath9k_hw_calibrate now return bool values instead of setting error values in the function arguments. Signed-off-by: Sujith <Sujith.Manoharan@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/calib.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.h b/drivers/net/wireless/ath/ath9k/calib.h
index 1c74bd50700d..ac71ed966a1b 100644
--- a/drivers/net/wireless/ath/ath9k/calib.h
+++ b/drivers/net/wireless/ath/ath9k/calib.h
@@ -116,8 +116,7 @@ int16_t ath9k_hw_getnf(struct ath_hw *ah,
void ath9k_init_nfcal_hist_buffer(struct ath_hw *ah);
s16 ath9k_hw_getchan_noise(struct ath_hw *ah, struct ath9k_channel *chan);
bool ath9k_hw_calibrate(struct ath_hw *ah, struct ath9k_channel *chan,
- u8 rxchainmask, bool longcal,
- bool *isCalDone);
+ u8 rxchainmask, bool longcal);
bool ath9k_hw_init_cal(struct ath_hw *ah,
struct ath9k_channel *chan);
OpenPOWER on IntegriCloud