commit | 09d8e315d90a70eb1096d68f27be04d6c43724f3 | [log] [tgz] |
---|---|---|
author | Felix Fietkau <nbd@openwrt.org> | Mon Nov 18 20:14:43 2013 +0100 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Dec 02 14:25:00 2013 -0500 |
tree | 3d6f1c61739a9660d3b7e12aa2eb44f353a04f6a | |
parent | 10e2318103f5941aa70c318afe34bc41f1b98529 [diff] |
ath9k_hw: fix TSF save/restore around chip reset A cold reset can be triggered because of DMA stop issues, and this leads to TSF being cleared on all chipsets. To properly deal with this, always save the TSF. Additionally, account for the time it takes to do the actual chip reset, which can be quite significant. On AR9344 it takes around 4.5 ms. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>