summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/hw.c
diff options
context:
space:
mode:
authorSenthil Balasubramanian <senthilkumar@atheros.com>2009-09-18 15:06:37 +0530
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:40 -0400
commit1d50a69b18818b276333590d1f2c9382d292d84d (patch)
tree089f197aea3b5eee8577f5a3e86cb0af65ebd08d /drivers/net/wireless/ath/ath9k/hw.c
parent66afad0156a0b673688f309147e57c3a85541329 (diff)
downloadblackbird-op-linux-1d50a69b18818b276333590d1f2c9382d292d84d.tar.gz
blackbird-op-linux-1d50a69b18818b276333590d1f2c9382d292d84d.zip
ath9k: Handle ATH9K_BEACON_RESET_TSF properly
Clearing a local variable is unnecessary. Get rid of it. Signed-off-by: Senthil Balasubramanian <senthilkumar@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 0a3de3f7b0a6..eb408831f3cf 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -3422,7 +3422,6 @@ void ath9k_hw_beaconinit(struct ath_hw *ah, u32 next_beacon, u32 beacon_period)
beacon_period &= ~ATH9K_BEACON_ENA;
if (beacon_period & ATH9K_BEACON_RESET_TSF) {
- beacon_period &= ~ATH9K_BEACON_RESET_TSF;
ath9k_hw_reset_tsf(ah);
}
OpenPOWER on IntegriCloud