commit | e1aa369ec8fb981ef78bc5be3b3c58de7c5ff769 | [log] [tgz] |
---|---|---|
author | Lukáš Turek <8an@praha12.net> | Mon Dec 21 22:50:49 2009 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Tue Jan 12 13:50:07 2010 -0500 |
tree | afe94e3f595edc13eae7ec6023f129786a432015 | |
parent | 310bc676e314e92c18257bfc916951879451ee32 [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>