summaryrefslogtreecommitdiffstats
path: root/include/linux/stacktrace.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2014-09-05 08:03:13 +0530
committerJohn W. Linville <linville@tuxdriver.com>2014-09-09 15:27:20 -0400
commitbb628eb9f0bda030c2cc9e417f52c9a344fc65fc (patch)
treebef8dbcf52f155f107589acafef22521710fca3e /include/linux/stacktrace.h
parentbd81533dbd79344232299b4669e9e3f596e618c5 (diff)
downloadcachepc-linux-bb628eb9f0bda030c2cc9e417f52c9a344fc65fc.tar.gz
cachepc-linux-bb628eb9f0bda030c2cc9e417f52c9a344fc65fc.zip
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 <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/stacktrace.h')
0 files changed, 0 insertions, 0 deletions