summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/hostap/hostap_ioctl.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-19 18:01:50 +0100
committerJohn W. Linville <linville@tuxdriver.com>2013-12-19 14:41:56 -0500
commit63ded3f059f5c906fdef4b7f0663fb39c4d96c8e (patch)
treeebeebc78a32e8e2511aa64a05ed20c7b22ead201 /drivers/net/wireless/hostap/hostap_ioctl.c
parentc32e4e518f6642372c57ac9edbfb8274fa20c5e4 (diff)
ath9k: fix TSF offset precision issue
Dividing the beacon interval by ATH_BCBUF (8) truncates the result for the default beacon interval of 100. Fix the calculation by moving the division after conversion from TU to microseconds. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/hostap/hostap_ioctl.c')
0 files changed, 0 insertions, 0 deletions