From: Felix Fietkau Date: Sat, 14 Dec 2013 17:03:45 +0000 (+0100) Subject: ath9k: properly preserve TSF across reset X-Git-Tag: v3.14-rc1~94^2~334^2^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a35051ce1733f524c12a8246641ded5d0409817d;p=pandora-kernel.git ath9k: properly preserve TSF across reset The beacon code previously reset TSF on every configuration call, as some of the code was not prepared to properly calculate nexttbtt based on current TSF. This patch adds a common function for calculating nexttbtt and moves the TSF reset to driver start. This should improve AP mode compatibility with various stations that expect the TSF to not randomly jump due to hardware resets. Signed-off-by: Felix Fietkau Signed-off-by: John W. Linville --- Reading git-diff-tree failed