diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2008-10-29 00:47:34 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-11-10 15:16:06 -0500 |
commit | 154662a6356ec3ccfea0a22218cf149220ea6373 (patch) | |
tree | 9f6843fb2953fd32a4608389c0a13088983e8ad2 | |
parent | 9c84b7978f1b99048bf31be5a0218cd509e74148 (diff) |
ath9k: Remove unnecessary TSF reset
The TSF is already reset properly via mac80211's callback.
Resetting it in config_interface() is not needed.
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/ath9k/main.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/net/wireless/ath9k/main.c b/drivers/net/wireless/ath9k/main.c index 0d6000205548..01a5be94a05f 100644 --- a/drivers/net/wireless/ath9k/main.c +++ b/drivers/net/wireless/ath9k/main.c | |||
@@ -1237,17 +1237,6 @@ static int ath9k_config_interface(struct ieee80211_hw *hw, | |||
1237 | /* Set aggregation protection mode parameters */ | 1237 | /* Set aggregation protection mode parameters */ |
1238 | sc->sc_config.ath_aggr_prot = 0; | 1238 | sc->sc_config.ath_aggr_prot = 0; |
1239 | 1239 | ||
1240 | /* | ||
1241 | * Reset our TSF so that its value is lower than the | ||
1242 | * beacon that we are trying to catch. | ||
1243 | * Only then hw will update its TSF register with the | ||
1244 | * new beacon. Reset the TSF before setting the BSSID | ||
1245 | * to avoid allowing in any frames that would update | ||
1246 | * our TSF only to have us clear it | ||
1247 | * immediately thereafter. | ||
1248 | */ | ||
1249 | ath9k_hw_reset_tsf(sc->sc_ah); | ||
1250 | |||
1251 | /* Disable BMISS interrupt when we're not associated */ | 1240 | /* Disable BMISS interrupt when we're not associated */ |
1252 | ath9k_hw_set_interrupts(sc->sc_ah, | 1241 | ath9k_hw_set_interrupts(sc->sc_ah, |
1253 | sc->sc_imask & | 1242 | sc->sc_imask & |