aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/phy.c
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-03-25 14:49:03 +0900
committerJohn W. Linville <linville@tuxdriver.com>2010-03-31 14:39:08 -0400
commit1063b176c072b936c43d0e6270168b19881ecb72 (patch)
tree4d820873db5ce8a8182ebf4bf7f877cc334be886 /drivers/net/wireless/ath/ath5k/phy.c
parent0e354fd01e4513cea25d66e9c6d9e76f7228accc (diff)
downloadkernel_samsung_espresso10-1063b176c072b936c43d0e6270168b19881ecb72.zip
kernel_samsung_espresso10-1063b176c072b936c43d0e6270168b19881ecb72.tar.gz
kernel_samsung_espresso10-1063b176c072b936c43d0e6270168b19881ecb72.tar.bz2
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/phy.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c
index 384347b..01b3f29 100644
--- a/drivers/net/wireless/ath/ath5k/phy.c
+++ b/drivers/net/wireless/ath/ath5k/phy.c
@@ -1108,7 +1108,7 @@ ath5k_hw_calibration_poll(struct ath5k_hw *ah)
/* Calibration interval in jiffies */
unsigned long cal_intval;
- cal_intval = msecs_to_jiffies(ah->ah_cal_intval * 1000);
+ cal_intval = msecs_to_jiffies(ATH5K_TUNE_CALIBRATION_INTERVAL_FULL);
/* Initialize timestamp if needed */
if (!ah->ah_cal_tstamp)