diff options
author | Nick Kossifidis <mickflemm@gmail.com> | 2011-11-25 13:40:25 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-11-28 14:44:16 -0500 |
commit | c47faa364cfb249d5d7670fb7293a6f9acd8aa9e (patch) | |
tree | 6b81c368508e94966efec2ddcc412c6b2154a97e /drivers/net/wireless/ath/ath5k/base.c | |
parent | 1846ac3dbec0894095520b2756b68c4fd81e3fbb (diff) |
ath5k: Cleanups v2 + add kerneldoc on all hw functions
No functional changes
Add kernel doc for all ath5k_hw_* functions and strcucts. Also do some cleanup,
rename ath5k_hw_init_beacon to ath5k_hw_init_beacon_timers, remove an unused
variable from ath5k_hw_pcu_init and a few obsolete macros, mostly related to XR.
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.c')
-rw-r--r-- | drivers/net/wireless/ath/ath5k/base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.c b/drivers/net/wireless/ath/ath5k/base.c index a8cb1c7f4bfe..9bb40b002fad 100644 --- a/drivers/net/wireless/ath/ath5k/base.c +++ b/drivers/net/wireless/ath/ath5k/base.c | |||
@@ -183,7 +183,6 @@ static const struct ieee80211_rate ath5k_rates[] = { | |||
183 | { .bitrate = 540, | 183 | { .bitrate = 540, |
184 | .hw_value = ATH5K_RATE_CODE_54M, | 184 | .hw_value = ATH5K_RATE_CODE_54M, |
185 | .flags = 0 }, | 185 | .flags = 0 }, |
186 | /* XR missing */ | ||
187 | }; | 186 | }; |
188 | 187 | ||
189 | static inline u64 ath5k_extend_tsf(struct ath5k_hw *ah, u32 rstamp) | 188 | static inline u64 ath5k_extend_tsf(struct ath5k_hw *ah, u32 rstamp) |
@@ -2005,7 +2004,7 @@ ath5k_beacon_update_timers(struct ath5k_hw *ah, u64 bc_tsf) | |||
2005 | ah->nexttbtt = nexttbtt; | 2004 | ah->nexttbtt = nexttbtt; |
2006 | 2005 | ||
2007 | intval |= AR5K_BEACON_ENA; | 2006 | intval |= AR5K_BEACON_ENA; |
2008 | ath5k_hw_init_beacon(ah, nexttbtt, intval); | 2007 | ath5k_hw_init_beacon_timers(ah, nexttbtt, intval); |
2009 | 2008 | ||
2010 | /* | 2009 | /* |
2011 | * debugging output last in order to preserve the time critical aspect | 2010 | * debugging output last in order to preserve the time critical aspect |