From: Felix Fietkau Date: Mon, 18 Nov 2013 19:14:43 +0000 (+0100) Subject: ath9k_hw: fix TSF save/restore around chip reset X-Git-Tag: v3.14-rc1~94^2~601^2^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09d8e315d90a70eb1096d68f27be04d6c43724f3;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed