summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/ath5k.h
diff options
context:
space:
mode:
authorBruno Randolf2010-03-25 06:49:03 +0100
committerJohn W. Linville2010-03-31 20:39:08 +0200
commit1063b176c072b936c43d0e6270168b19881ecb72 (patch)
tree4d820873db5ce8a8182ebf4bf7f877cc334be886 /drivers/net/wireless/ath/ath5k/ath5k.h
parentwireless/libertas: remove trailing space in debugfs header (diff)
downloadkernel-qcow2-linux-1063b176c072b936c43d0e6270168b19881ecb72.tar.gz
kernel-qcow2-linux-1063b176c072b936c43d0e6270168b19881ecb72.tar.xz
kernel-qcow2-linux-1063b176c072b936c43d0e6270168b19881ecb72.zip
ath5k: remove static calibration interval variable
Remove static variable ath5k_calinterval which was used as a constant. Use a #define instead. Also we don't need ah_cal_intval. Signed-off-by: Bruno Randolf <br1@einfach.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/ath5k.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath5k/ath5k.h b/drivers/net/wireless/ath/ath5k/ath5k.h
index 1d7491c85460..a3019ee4f2fa 100644
--- a/drivers/net/wireless/ath/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath/ath5k/ath5k.h
@@ -202,6 +202,7 @@
#define AR5K_TUNE_MAX_TXPOWER 63
#define AR5K_TUNE_DEFAULT_TXPOWER 25
#define AR5K_TUNE_TPC_TXPOWER false
+#define ATH5K_TUNE_CALIBRATION_INTERVAL_FULL 10000 /* 10 sec */
#define AR5K_INIT_CARR_SENSE_EN 1
@@ -1101,9 +1102,6 @@ struct ath5k_hw {
/* Calibration timestamp */
unsigned long ah_cal_tstamp;
- /* Calibration interval (secs) */
- u8 ah_cal_intval;
-
/* Software interrupt mask */
u8 ah_swi_mask;