From: Lukáš Turek <8an@praha12.net> Date: Mon, 21 Dec 2009 21:50:49 +0000 (+0100) Subject: ath5k: Fix functions for getting/setting slot time X-Git-Tag: v2.6.34-rc1~233^2~556^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1aa369ec8fb981ef78bc5be3b3c58de7c5ff769;p=pandora-kernel.git 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 --- Reading git-diff-tree failed