aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath5k/ath5k.h
diff options
context:
space:
mode:
authorLukáš Turek <8an@praha12.net>2009-12-21 22:50:49 +0100
committerJohn W. Linville <linville@tuxdriver.com>2010-01-12 13:50:07 -0500
commite1aa369ec8fb981ef78bc5be3b3c58de7c5ff769 (patch)
treeafe94e3f595edc13eae7ec6023f129786a432015 /drivers/net/wireless/ath/ath5k/ath5k.h
parent310bc676e314e92c18257bfc916951879451ee32 (diff)
ath5k: Fix functions for getting/setting slot time
Functions ath5k_hw_get_slot_time and ath5k_hw_set_slot_time were converting microseconds to clocks only for AR5210, although it's needed for all supported devices. The conversion was moved outside the hardware-specific branches. The original code also limited minimum slot time to 9, while turbo modes use 6, this was fixed too. Signed-off-by: Lukas Turek <8an@praha12.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/ath5k.h')
0 files changed, 0 insertions, 0 deletions