summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath5k/pcu.c
diff options
context:
space:
mode:
authorBruno Randolf <br1@einfach.org>2010-09-27 07:22:16 +0400
committerJohn W. Linville <linville@tuxdriver.com>2010-09-28 23:47:57 +0400
commit4a79f2c517cce31c3b25aab0ec5078368b22c363 (patch)
tree50384f2b0158cd4684a057ed51700f953656b9a1 /drivers/net/wireless/ath/ath5k/pcu.c
parent4bd437ea40b81fb4c047034de6dca1b5af496fb0 (diff)
downloadlinux-4a79f2c517cce31c3b25aab0ec5078368b22c363.tar.xz
ath5k: Remove unused variable for atim window
It's not used and it's unlikely we will ever implement ATIM. 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/pcu.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/pcu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/pcu.c b/drivers/net/wireless/ath/ath5k/pcu.c
index 6a891c4484a0..71dca1023e72 100644
--- a/drivers/net/wireless/ath/ath5k/pcu.c
+++ b/drivers/net/wireless/ath/ath5k/pcu.c
@@ -600,7 +600,7 @@ void ath5k_hw_init_beacon(struct ath5k_hw *ah, u32 next_beacon, u32 interval)
/* Timer3 marks the end of our ATIM window
* a zero length window is not allowed because
* we 'll get no beacons */
- timer3 = next_beacon + (ah->ah_atim_window ? ah->ah_atim_window : 1);
+ timer3 = next_beacon + 1;
/*
* Set the beacon register and enable all timers.