From: Sujith Manoharan Date: Fri, 5 Sep 2014 02:33:13 +0000 (+0530) Subject: ath9k: Fix offchannel duration calculation X-Git-Tag: fixes-against-v3.18-rc2~144^2~144^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb628eb9f0bda030c2cc9e417f52c9a344fc65fc;p=pandora-kernel.git ath9k: Fix offchannel duration calculation Currently, different units are used for handling sc->offchannel.duration. In scan mode, it contains jiffies and in RoC mode, milliseconds is used. This causes confusion since in ath_chanctx_switch(), TU_TO_USEC is used to determine the offchannel duration, resulting in incorrect values. Fix this by using jiffies in both modes. Signed-off-by: Sujith Manoharan Signed-off-by: John W. Linville --- Reading git-diff-tree failed